check box and closefield

Ludovic Thébault ludovic.thebault at laposte.net
Mon Sep 15 01:14:01 EDT 2003


On Sun, 14 Sep 2003 22:16:16 -0600, Michael Young wrote:
> What I cannot figure out how to do is create x buttons with x fields 
> and send the field information to the output text field in the button 
> order, i.e.

try :
on mouseUp
  if hilite of me is true
     then put fld ("Field "&last word of the short name of me) into fld 
"Output"
     else put "" into fld "Output"
end mouseUp

Field 1 script:
on closefield
  if hilite of btn ("Button "&last word of the short name of me) is 
false
  then hilite btn ("Button "&last word of the short name of me)
  put me into fld "Output"
end closefield



More information about the use-livecode mailing list