group-al cmds like "set the highlitedButtonName to 0" for propserties?

Erik Hansen erikhans08 at yahoo.com
Sat Feb 5 19:50:31 CST 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)\
  into tot

  repeat with i = 1 t tot
   set the width of control i to pWidth
   set the borderWidth of control i to 1
  end repeat
  -- many lines of code & repeats
end standDown

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.

thanks,

Erik Hansen


=====
erik at erikhansen.org    http://www.erikhansen.org


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 


More information about the use-livecode mailing list