Lingo Dictionary > G-K > hilite (cast member property) |
![]() ![]() ![]() |
hilite (cast member property)
Syntax
member(
whichCastMember
).hilite
the hilite of member
whichCastMember
Description
Cast member property; determines whether a check box or radio button created with the button tool is selected (TRUE
) or not (FALSE,
default).
If whichCastMember
is a string, it specifies the cast member name. If it is an integer, whichCastMember
specifies the cast member number.
This property can be tested and set.
Example
This statement checks whether the button named Sound on is selected and, if it is, turns sound channel 1 all the way up:
if member("Sound on").hilite = TRUE then sound(1).volume = 255
Example
This statement uses Lingo to select the button cast member powerSwitch by setting the hilite
member property for the cast member to TRUE
:
member("powerSwitch").hilite = TRUE
See also
![]() ![]() ![]() |