Valhalla Legends Forums Archive | Visual Basic Programming | [VB6] Command button question

AuthorMessageTime
DOOM
Is there anyway to change the forecolor of a button to something besides the default black? With most VB controls you have the option of changing the forecolor and backcolor properties, but I've never found that option with command buttons. Yes, you can change the backcolor, if you set the style to graphical, but still, no forecolor. It's never been a huge priority for me... but it would be useful to be able to change the font color. So am I blind and just missing the way to do it or what? And if you can't do it, anyone got any suggestions to get around it? Thanks.
August 7, 2004, 7:28 PM
St0rm.iD
isn't it in font or fontcolor?
August 7, 2004, 7:31 PM
Grok
WM_CTLCOLORBTN
August 7, 2004, 8:12 PM
DOOM
[quote author=$t0rm link=board=31;threadid=8067;start=0#msg74503 date=1091907078]
isn't it in font or fontcolor?
[/quote]

Nope. If you go into the Font settings for a command button, it doesn't have any place to change the font color.
August 7, 2004, 8:52 PM
Eli_1
[quote author=Grok link=board=31;threadid=8067;start=0#msg74510 date=1091909529]
WM_CTLCOLORBTN
[/quote]
August 9, 2004, 1:13 AM

Search