Button is behavior

Mark Wieder mwieder at ahsoftware.net
Thu Nov 27 11:25:28 EST 2014


Mike-

Thursday, November 27, 2014, 8:16:18 AM, you wrote:

> Have perused the dictionary, don't think there is currently a way to do
> what you want.  Feature request?

I'm not even sure a feature request would help here. Being used as a
behavior isn't a property of an object, it's just a reference from
some other object.

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

That's the only way I could think of doing this. You could also set a
custom property on buttons that you're using as behavior objects and
query on that.

But Hugh, what are you trying to accomplish?

-- 
-Mark Wieder
 ahsoftware at gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.





More information about the use-livecode mailing list