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
[email protected]
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


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

Reply via email to