Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: DOOM on August 07, 2004, 02:28 PM

Title: [VB6] Command button question
Post by: DOOM on August 07, 2004, 02:28 PM
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.
Title: Re:[VB6] Command button question
Post by: Banana fanna fo fanna on August 07, 2004, 02:31 PM
isn't it in font or fontcolor?
Title: Re:[VB6] Command button question
Post by: Grok on August 07, 2004, 03:12 PM
WM_CTLCOLORBTN
Title: Re:[VB6] Command button question
Post by: DOOM on August 07, 2004, 03:52 PM
Quote from: $t0rm on August 07, 2004, 02:31 PM
isn't it in font or fontcolor?

Nope.  If you go into the Font settings for a command button, it doesn't have any place to change the font color.
Title: Re:[VB6] Command button question
Post by: Eli_1 on August 08, 2004, 08:13 PM
Quote from: Grok on August 07, 2004, 03:12 PM
WM_CTLCOLORBTN