Tab color

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
karweru
Posts: 185
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Been thanked: 8 times
Contact:

Tab color

Post by karweru » Sat Jul 06, 2019 6:25 am

Hello everyone,

Any way to color a Tab control, like page1 = RED, page 2 = Green?
Kind regards,
Gilbert.

User avatar
mustafa
Posts: 848
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 129 times
Contact:

Post by mustafa » Sat Jul 06, 2019 1:17 pm

Hi karweru
View --> http://hmgforum.com/viewtopic.php?f=24& ... =TAB+COLOR

Regards
Mustafa

User avatar
karweru
Posts: 185
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Been thanked: 8 times
Contact:

Post by karweru » Sat Jul 06, 2019 5:33 pm

Thank you Mustafa for pointing me to the above thread. I'm unable to implement Grigory's solution in hmg though. Will keep trying.
Kind regards,
Gilbert.

User avatar
SALINETAS24
Posts: 347
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Has thanked: 22 times
Been thanked: 24 times

Post by SALINETAS24 » Fri Nov 08, 2019 10:11 pm

Hola a todos.
Igual ya llego tarde, pero dado que no he encontrado nada que me encaje, aqui os paso lo que hago yo para pintar los TAB.
He cogido prestada la rutina artística del amigo Mustafa y aplicando alguna modificación queda bastante bien.
El tipo de letra de las PAGE tiene que ser una como la COURIER NEW,por el tamaño común de todas las letras.
Una cervecita....

Image
Attachments
colortab.rar
(1.21 MiB) Downloaded 21 times
tabcolor.JPG
tabcolor.JPG (24.37 KiB) Viewed 74 times

Post Reply