Can't hilite buttons on Mac?

Ian Wood ian at azurevision.co.uk
Wed Jan 28 06:00:22 EST 2004


Another sort-of-newbie question.

Once upon a time on a series of buttons...

on mouseUp
	focus on me
	answer -- add feedback text in here
end mouseUp

on focusIn
	set hilite of me to true
end focusIn

on focusOut
	set hilite of me to false
end focusOut

on tabKey
	focus on button --wherever you want to move to in here
end tabKey

on returnKey
	send "mouseUp" to me
end returnKey


It all works, and with Look & Feel set to Windows or Linux it's fine, 
but set to Mac Appearance Manager or Mac Emulated none of the buttons 
show a hilite, which makes it useless as you have no feedback which 
button you are about to activate with the Return key.

OS X 10.3.0, Rev 2.1.2

This is a brand new test stack with nothing but three buttons tabbing 
in a loop, none of the Basic Properties seems to make a difference.  
I've found Bug#: 918 which seems to be the opposite, showing a hilite 
even when it is set to false.  Is this likely to be the same bug, and 
does anyone have a workaround?

Ian



More information about the use-livecode mailing list