About implementing a “different” interface
Posted: Wed Mar 18, 2009 10:13 pm
Translated by Google,
Continuing the theme of improving the interface a bit of our programs, I have been doing tests, especially with the use and "abuse" of images, the idea was already in the air but had to land and could not find this "as" landed, until I found the MiniGui forum in Spanish at the Yahoo files section of some "Cas_contrib" and especially the file cas_coolbutton.zip, then saw that it was possible to "do something" with the interface, the code I have used for my tests is exactly the same (original) I just changed a little the conditions (IF ...) and nothing else, I must warn that the code annex is extremely dirty, as they wanted to start verify that possible to do something "different", and I did not care to post the code.
Based on the examples you will see that almost every trick and still is for people who want to work with background images that are degraded with color, yet is not an option, for the issue of controls that do not accept property TRANSPARENT (picture), as commented in another post, the trick here is, as you see, put the background color to the controls (the background of the image does not degrade).
Another "problem" would be that each form would have its own function for checking the images, (I can not think of a reusable, unless it was configurable and also of course have to be recursive, I believe.
In addition part of the hide and show controls (the "Tabs"), sometimes it is the shadow of the hidden controls, I just happened a few times, but considering that I have a decent PC, it could be a problem, unless could be cleaned before, something like CLEAR TO command, or something else.
Another problem would be to control the screen resolution, I personally do not allow users to maximize a window and can not resize it but we must verify that your screen resolution so it does not move the controls and image and an unwanted effect.
Taking all the possible problems commented, the more you discover, I wonder if it is worth all of this interface for a "nice", because it is extremely difficult to make the images (of course, I am not a designer), and the code is "complicated" too.
I hope their views on two aspects, they think about what they saw and whether or not it's worth.
- Based on this, and if it is feasible to put into production, I think we will be able to "imitate", "almost" any interface (like the Web).
- menu.prg must compile and compile form.prg
The software (code, examples, pictures, etc.) Are provided "as is" without any liability or obligation.
Sincerely,
Greetings
Javier
Spanish,
Siguiendo con el tema de mejorar un poco la interface de nuestros programas, he estado haciendo pruebas, sobre todo con el uso y "abuso" de imágenes, la idea ya estaba en el aire pero había que aterrizarla y no podía encontrar ese "como" aterrizarla, hasta que encontré en el foro de MiniGui en español en Yahoo en la sección de archivos algo de "Cas_contrib" y en especial el archivo cas_coolbutton.zip, de ahí vi que era posible "hacer algo" con la interfaz, el código que yo he utilizado para mis pruebas es exactamente el mismo (original) solo he modificado un poco las condiciones (IF ...) y nada más, Debo advertir que el código que anexo es tremendamente "sucio", ya que de inicio quería verificar que fuera posible hacer algo "diferente", y no he puesto cuidado en el código.
Partiendo de los ejemplos verán que casi todo es truco y que aún para las personas que quisieran trabajar con imágenes de fondo que sean con color degradadas, aún no será una opción, por el tema de los controles que no aceptan la propiedad TRANSPARENT (con imágenes), como lo había comentado en otro post, el truco aquí es, como ven, poner el color de fondo a los controles (el del fondo de la imagen, no degrada).
Otro "problema", seria que cada formulario tendría que tener su propia función para el control de las imágenes, (no se me ocurre una función reutilizable, a menos que fuera parametrizable y también por supuesto tendría que ser recursiva, creo yo.
Además en la parte de ocultar y mostrar los controles (los "Tabs"), en ocasiones queda la sombra de los controles ocultos, me ha pasado solo un par de veces, pero considerando que tengo una PC decente, pudiera ser un problema, a no ser que se pudiera limpiar antes, algo así como el comando CLEAR TO, o algo más.
Otro problema, también sería controlar la resolución de la pantalla, en lo personal no permito que los usuarios maximicen una ventana y tampoco puedan cambiar el tamaño de la misma, pero debemos que verificar la resolución de la pantalla para que no se muevan los controles e imágenes y dé un efecto no deseado.
Partiendo de todos los posibles problemas comentados, más los que ustedes descubran, me pregunto si vale la pena hacer todo esto, para tener una interfaz "bonita", ya que además es tremendamente complicado hacer las imágenes (claro, no soy diseñador), y el código se "complica" demasiado.
Espero sus opiniones en los dos aspectos, acerca de que les parece lo que vieron y si vale la pena o no.
- Partiendo de esta base, y si es factible para ponerlo en producción, creo que seremos capaces de poder "imitar", "casi" cualquier interfaz (como la Web).
- Deben compilar menu.prg y compilar form.prg
El Software (código, ejemplos, imágenes, etc.) se proporcionan "tal cual", sin ningún tipo de responsabilidad, ni compromiso.
Muchas Gracias,
Saludos
Javier
Continuing the theme of improving the interface a bit of our programs, I have been doing tests, especially with the use and "abuse" of images, the idea was already in the air but had to land and could not find this "as" landed, until I found the MiniGui forum in Spanish at the Yahoo files section of some "Cas_contrib" and especially the file cas_coolbutton.zip, then saw that it was possible to "do something" with the interface, the code I have used for my tests is exactly the same (original) I just changed a little the conditions (IF ...) and nothing else, I must warn that the code annex is extremely dirty, as they wanted to start verify that possible to do something "different", and I did not care to post the code.
Based on the examples you will see that almost every trick and still is for people who want to work with background images that are degraded with color, yet is not an option, for the issue of controls that do not accept property TRANSPARENT (picture), as commented in another post, the trick here is, as you see, put the background color to the controls (the background of the image does not degrade).
Another "problem" would be that each form would have its own function for checking the images, (I can not think of a reusable, unless it was configurable and also of course have to be recursive, I believe.
In addition part of the hide and show controls (the "Tabs"), sometimes it is the shadow of the hidden controls, I just happened a few times, but considering that I have a decent PC, it could be a problem, unless could be cleaned before, something like CLEAR TO command, or something else.
Another problem would be to control the screen resolution, I personally do not allow users to maximize a window and can not resize it but we must verify that your screen resolution so it does not move the controls and image and an unwanted effect.
Taking all the possible problems commented, the more you discover, I wonder if it is worth all of this interface for a "nice", because it is extremely difficult to make the images (of course, I am not a designer), and the code is "complicated" too.
I hope their views on two aspects, they think about what they saw and whether or not it's worth.
- Based on this, and if it is feasible to put into production, I think we will be able to "imitate", "almost" any interface (like the Web).
- menu.prg must compile and compile form.prg
The software (code, examples, pictures, etc.) Are provided "as is" without any liability or obligation.
Sincerely,
Greetings
Javier
Spanish,
Siguiendo con el tema de mejorar un poco la interface de nuestros programas, he estado haciendo pruebas, sobre todo con el uso y "abuso" de imágenes, la idea ya estaba en el aire pero había que aterrizarla y no podía encontrar ese "como" aterrizarla, hasta que encontré en el foro de MiniGui en español en Yahoo en la sección de archivos algo de "Cas_contrib" y en especial el archivo cas_coolbutton.zip, de ahí vi que era posible "hacer algo" con la interfaz, el código que yo he utilizado para mis pruebas es exactamente el mismo (original) solo he modificado un poco las condiciones (IF ...) y nada más, Debo advertir que el código que anexo es tremendamente "sucio", ya que de inicio quería verificar que fuera posible hacer algo "diferente", y no he puesto cuidado en el código.
Partiendo de los ejemplos verán que casi todo es truco y que aún para las personas que quisieran trabajar con imágenes de fondo que sean con color degradadas, aún no será una opción, por el tema de los controles que no aceptan la propiedad TRANSPARENT (con imágenes), como lo había comentado en otro post, el truco aquí es, como ven, poner el color de fondo a los controles (el del fondo de la imagen, no degrada).
Otro "problema", seria que cada formulario tendría que tener su propia función para el control de las imágenes, (no se me ocurre una función reutilizable, a menos que fuera parametrizable y también por supuesto tendría que ser recursiva, creo yo.
Además en la parte de ocultar y mostrar los controles (los "Tabs"), en ocasiones queda la sombra de los controles ocultos, me ha pasado solo un par de veces, pero considerando que tengo una PC decente, pudiera ser un problema, a no ser que se pudiera limpiar antes, algo así como el comando CLEAR TO, o algo más.
Otro problema, también sería controlar la resolución de la pantalla, en lo personal no permito que los usuarios maximicen una ventana y tampoco puedan cambiar el tamaño de la misma, pero debemos que verificar la resolución de la pantalla para que no se muevan los controles e imágenes y dé un efecto no deseado.
Partiendo de todos los posibles problemas comentados, más los que ustedes descubran, me pregunto si vale la pena hacer todo esto, para tener una interfaz "bonita", ya que además es tremendamente complicado hacer las imágenes (claro, no soy diseñador), y el código se "complica" demasiado.
Espero sus opiniones en los dos aspectos, acerca de que les parece lo que vieron y si vale la pena o no.
- Partiendo de esta base, y si es factible para ponerlo en producción, creo que seremos capaces de poder "imitar", "casi" cualquier interfaz (como la Web).
- Deben compilar menu.prg y compilar form.prg
El Software (código, ejemplos, imágenes, etc.) se proporcionan "tal cual", sin ningún tipo de responsabilidad, ni compromiso.
Muchas Gracias,
Saludos
Javier