Button is behavior

Mike Bonner bonnmike at gmail.com
Thu Nov 27 11:16:18 EST 2014


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, <dunbarx at aol.com> 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 <admin at FlexibleLearning.com>
> To: use-livecode <use-livecode at lists.runrev.com>
> 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
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list