group-al cmds like "set the highlitedButtonName to 0" for propserties?
erikhans08 at yahoo.com
Sat Feb 5 20:50:31 EST 2005
for colorblind users, a selected control has:
the width = the width +8
the borderWidth = 2
some groups have multiple hilites so
before selecting a new control in the group:
on standDown pGroup,pWidth
set the highlitedButtonName of grp pGroup to 0
-- 1 line of code
put (the number of controls in grp pGroup)\
repeat with i = 1 t tot
set the width of control i to pWidth
set the borderWidth of control i to 1
-- many lines of code & repeats
is there a single-line-command
that resets the individual
control properties of all
grouped controls to the default value
specified for that group?
i did try the Transcript Dictionary under
"group" "about groups" "about objects"...
the "standDown" handler works just fine,
it would just be simpler with a 1-line
"set the highlitedButtonName to 0"
kind of approach.
erik at erikhansen.org http://www.erikhansen.org
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
More information about the Use-livecode