Lumus
05-20-2002, 09:06 PM
This may sound really simple, but how do I change the colour of the caption of a button without creating an image of the caption? I can make the button background a colour but when I use the colour palette from the view menu, the caption colour returns to black when I run the program.
BillSoo
05-20-2002, 10:47 PM
Do not use a button. Use a checkbox instead and set it's Style property to "Graphical". This will make the checkbox look like a command button but act like a toggle button (ie. it will stay down when clicked)
To make it behave like a commandbutton, simply set the value to 0 on the mouse up event.
The point of all this is that the checkbox has forecolor property.