Checkbox script

charles61 cszasz at mac.com
Sat Jun 19 12:37:24 EDT 2010


Thanks to everyone for their suggestions! I resolve my problem using the
following script:

on mouseUp
   if the hilite of button "checkb" then put "Fish Allergy" & space after
tConcat
   if the hilite of button "checkc" then put "Milk Allergy" & space after
tConcat
   
   if the hilite of me =true
   then
      put "Egg Allergy" & space after tConcat
      put tConcat into field "disability"
   else
      replace "Egg Allergy" with space in field "disability"
   end if
end mouseUp

This script is only for two checkboxes.
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Checkbox-script-tp2261136p2261259.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list