Hilited button: text Color?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Havanna
Posts: 53
Joined: Wed May 14, 2014 3:00 pm

Hilited button: text Color?

Post by Havanna » Tue Jan 27, 2015 11:50 pm

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?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Hilited button: text Color?

Post by dunbarx » Wed Jan 28, 2015 12:15 am

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

Post Reply