Hi, I have 38 buttons on a form that I need to copy their hilite value to a
temporary variable. Is it possible in LC to do something like

for x = 1 to the number of buttons on card y
   put the hilite of btn"x" into tButtonx
end

instead of writing out manually, 38 times:

   put the hilite of btn"fhHypertension" into tButton4
   put the hilite of btn"fhDiabetes" into tButton5
etc

Thanks

-- Mark

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Looping-over-all-buttons-tp4410980p4410980.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to