Colorear las PAGE

HMG en Español

Moderator: Rathinagiri

AidTIC
Posts: 63
Joined: Mon Apr 22, 2013 8:29 am
Been thanked: 2 times

Colorear las PAGE

Post by AidTIC » Mon Nov 14, 2016 8:43 pm

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 2135 times
[/img]

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Mon Nov 14, 2016 9:42 pm

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: 2081
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 114 times
Been thanked: 15 times
Contact:

Post by danielmaximiliano » Mon Nov 14, 2016 11:44 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2024
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 143 times
Contact:

Post by srvet_claudio » Tue Nov 15, 2016 12:23 am

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: 2081
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 114 times
Been thanked: 15 times
Contact:

Post by danielmaximiliano » Tue Nov 15, 2016 12:33 am

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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2024
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 143 times
Contact:

Post by srvet_claudio » Tue Nov 15, 2016 2:09 am

I never finished this demonstration, I hope it serves as a guide.
Attachments
TabCustomDraw.rar
(4.37 KiB) Downloaded 88 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
danielmaximiliano
Posts: 2081
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 114 times
Been thanked: 15 times
Contact:

Post by danielmaximiliano » Tue Nov 15, 2016 1:08 pm

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 2042 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2024
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 143 times
Contact:

Post by srvet_claudio » Tue Nov 15, 2016 2:46 pm

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: 552
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 14 times
Been thanked: 121 times
Contact:

Post by gfilatov » Tue Nov 15, 2016 7:04 pm

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 63 times
colored-tab-demo.gif
colored-tab-demo.gif (22.96 KiB) Viewed 1993 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
serge_girard
Posts: 2077
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 427 times
Been thanked: 91 times
Contact:

Post by serge_girard » Tue Nov 15, 2016 7:11 pm

Hello Grigory,

On my W7 all is yellow?

Serge

Post Reply