Have perused the dictionary, don't think there is currently a way to do what you want. Feature request?
The only other option would be to cycle through the controls and build a behavior list. Might be interesting to do though, build an array keyed by button id, that contains a list of objects that it supplies behavior to. On Thu, Nov 27, 2014 at 8:49 AM, <[email protected]> wrote: > Hugh. > > > You could surely write a short function, asking if the behavior of your > button of interest is empty. > > > Craig > > > > -----Original Message----- > From: FlexibleLearning.com <[email protected]> > To: use-livecode <[email protected]> > Sent: Thu, Nov 27, 2014 5:53 am > Subject: Button is behavior > > > Is there a way to identify whether a button is used as a behavior? > > e.g. the isBehavior of btn 1 > > Just asking. > > Hugh Senior > FLCo > > > _______________________________________________ > 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 > > > _______________________________________________ > 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 > _______________________________________________ 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
