Resetting checkboxes to true on marked cards

charles61 cszasz at mac.com
Sun Jun 6 15:54:53 EDT 2010


Hi Mark!

Thanks! I used your suggestion to come up with the following to loop through the cards and buttons:

on mouseUp
   repeat with x = 1 to number of marked cards
      repeat with y = 1 to number of buttons
         if the hilite of button y is true then
            set the hilite of btn y to false 
         end if
      end repeat
   end repeat 

It works on one card. I am testing it on multiple cards now.

Charles Szasz
cszasz at mac.com




On Jun 6, 2010, at 3:19 PM, Mark Schonewille-3 [via Runtime Revolution] wrote:

> Charles, 
> 
> I didn't test it but what you need should look like this: 
> 
> repeat with x = 1 to number of marked cards 
>    set the hilite of btn "foo" of marked cd x to false 
> end repeat 
> 
> -- 
> Best regards, 
> 
> Mark Schonewille 
> 
> Economy-x-Talk Consulting and Software Engineering 
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> Economy-x-Talk is always looking for new projects. Contact me for a   
> quote http://economy-x-talk.com/contact.html
> Download Clipboard Link http://clipboardlink.economy-x-talk.com and   
> share the clipboard of your computer over the local network. 
> 
> On 6 jun 2010, at 21:12, charles61 wrote: 
> 
> > 
> > I have a series of marked cards that have many checkboxes. I want to   
> > reset 
> > the checkboxes to true when the user before an user enters new data.   
> > Any 
> > scripting suggestions about how to reset checkboxes on marked cards   
> > to true? 
> 
> 
> _______________________________________________ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ http://runtime-revolution.278305.n4.nabble.com/Resetting-checkboxes-to-true-on-marked-cards-tp2245212p2245216.html 
> To unsubscribe from Resetting checkboxes to true on marked cards, click here.
> 


-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Resetting-checkboxes-to-true-on-marked-cards-tp2245212p2245237.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list