Button is behavior

Peter Haworth pete at lcsql.com
Thu Nov 27 12:19:38 EST 2014


I have a script that does that and also makes bulk changes to a specific
behavior.  It's on the "Free Stuff" page of my web site www.lcsql.com,
cleverly titled FindBehaviors.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Thu, Nov 27, 2014 at 8:16 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> 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
> >
> _______________________________________________
> 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