Colorear las PAGE

HMG en Español

Moderator: Rathinagiri

User avatar
AidTIC
Posts: 117
Joined: Mon Apr 22, 2013 8:29 am
DBs Used: DBF
Contact:

Colorear las PAGE

Post by AidTIC »

Alguien sabe si es posible darle color de fondo a las PAGE .

Algo así.

Someone knows if it is possible to color the pages.

Something like that.


[img]
Captura.JPG
Captura.JPG (22.23 KiB) Viewed 5611 times
[/img]
Skydone Solutions
www.skydone.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Colorear las PAGE

Post by Pablo César »

Daniel Maximiliano conseguió cambiar el color, creo que con un fondo de imagen. Pero no es total el cambio, es decir en las abas no cambia y en los bordes. Fijate si te sirve:
http://hmgforum.com/viewtopic.php?f=12&t=1801

Otra solución poco canónica, seria através de imagenes superpuestas y a medida que es clicado en cada imagen la exibes de forma completa pero sin el control TAB. Creo que serviria apenas para exibicion nomás. :?

Creo que este asunto es uno de los paradigmas que hay sobre ese control y ocurre en muchos otros lenguajes.

Tambien creo que podria hacerse algo con el event en el control TAB, pero no sé si compensa el resultado final, ya que TAB tiene vários detalles en su composicion (bordas, abas, descripcion del aba, imagen, container...)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Colorear las PAGE

Post by danielmaximiliano »

*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Colorear las PAGE

Post by srvet_claudio »

AidTIC wrote:Alguien sabe si es posible darle color de fondo a las PAGE .

Algo así.

Someone knows if it is possible to color the pages.

Something like that.


[img]Captura.JPG[/img]
Yes it is possible, somewhere I have an example of a custom draw of the control tab. I will search.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Colorear las PAGE

Post by danielmaximiliano »

srvet_claudio wrote: Yes it is possible, somewhere I have an example of a custom draw of the control tab. I will search.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Colorear las PAGE

Post by srvet_claudio »

I never finished this demonstration, I hope it serves as a guide.
Attachments
TabCustomDraw.rar
(4.37 KiB) Downloaded 293 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Colorear las PAGE

Post by danielmaximiliano »

Gracias Claudio, en Windows 10 Home premiun 64 el control tab tiene color solo en el texto y un flash del color dentro del tab.
[attachment=0]2016-11-15 10_07_30-Tab Demo.png[/attachment]
Attachments
2016-11-15 10_07_30-Tab Demo.png
2016-11-15 10_07_30-Tab Demo.png (12.11 KiB) Viewed 5517 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Colorear las PAGE

Post by srvet_claudio »

danielmaximiliano wrote:Gracias Claudio, en Windows 10 Home premiun 64 el control tab tiene color solo en el texto y un flash del color dentro del tab.
2016-11-15 10_07_30-Tab Demo.png
Daniel,
en el código hay un comentario sobre un cambio interno que hay que hacer en HMG para que el fondo de los controles se visualice adecuadamente.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Colorear las PAGE

Post by gfilatov »

AidTIC wrote: Someone knows if it is possible to color the pages.
Hello,

It is possible in the MiniGUI Extended Edition.

Please take a look for an updated attached sample. 8-)
Attachments
ColoredTab.zip
(630.96 KiB) Downloaded 254 times
colored-tab-demo.gif
colored-tab-demo.gif (22.96 KiB) Viewed 5470 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Colorear las PAGE

Post by serge_girard »

Hello Grigory,

On my W7 all is yellow?

Serge
There's nothing you can do that can't be done...
Post Reply