Page 1 of 1

Hilited button: text Color?

Posted: Tue Jan 27, 2015 11:50 pm
by Havanna
Probably I'm just blind :(

The colors of a button can be set handily:
backcolor for the button background
forecolor for the text
hilitecolor for the background when clicked

but I seem to miss the property for text color when a button is clicked.
In this case text should be white on a red button when idle and red on a black button when clicked.

Or do I have to change that color in the mouse down and up events of the buttons?

Re: Hilited button: text Color?

Posted: Wed Jan 28, 2015 12:15 am
by dunbarx
Hi.

I coud be wrong, but I do not think there is a "hilitedText" property. So just as you said, set it on mouseDown and mouseUp.

Craig Newman