Saving the name of option button in a Save File

Peter M. Brigham, MD pmbrig at gmail.com
Thu Sep 1 22:27:01 EDT 2011


Instead try this (untested):

repeat WITH b = 1 to the number of buttons
      if the style of btn b <> "menu" then next repeat
      if the menumode of btn b <> "option" then next repeat
      put the label of button b & ":" & the hilite of \
             button b & cr after tData
end repeat

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Sep 1, 2011, at 9:41 PM, Pete wrote:

>> REPEAT WITH b = 1 to the number of buttons
>>     IF the style of button b = "checkbox" OR the style of button b =
>> "option"
>>     THEN
>>        put the short name of button b & ":" & the hilite of button b & cr
>> after tData
>>     END IF
>>  END repeat





More information about the use-livecode mailing list