help the newb-rube

Mark Swindell mdswindell at cruzio.com
Tue Feb 21 18:35:58 EST 2006


On Feb 21, 2006, at 3:15 PM, Ben Bock wrote:

> 1)  I have 30 groups or radio buttons per page, with several  
> pages.  I'd like them to reset to zero on cardOpen.  Thanks to  
> helpful feedback from here, I'm trying to avoid "hard-coding" as  
> much, but I'm flubbing the script, and can't sort out why.

By resetting to zero do you mean unhiliting?

Would this work in the stack script?

on preopencard
   repeat with y = 1 to the number of buttons of this cd
     Set the hilite of button y to false
   end repeat
end preopencard



More information about the use-livecode mailing list