Button is behavior
Mike Bonner
bonnmike at gmail.com
Thu Nov 27 17:16:39 EST 2014
Mind if I ask why you need this? Always interested in the hows and whys of
others, which often gives me new ideas I may not have otherwise had.
On Thu, Nov 27, 2014 at 1:19 PM, FlexibleLearning.com <
admin at flexiblelearning.com> wrote:
> Thought as much, Mike. Only wondered if I had missed some new keyword among
> all the enhancements recently made by the mothereship.
>
>
> As the years advance I find I miss more than I used to, and what don't miss
> I forget!
>
> Hugh Senior
> FLCo
>
>
> Mike Bonner <bonnmike at gmail.com> wrote:
>
> Was curious and tried it. 4000 controls, took 107 milliseconds to index, on
> my system. It picked up datagrid behaviors too.
>
> local sObehaveListA
> on mouseUp
> put the milliseconds into tStart
> put empty into sObehaveListA
> repeat with i = 1 to (the number of controls of this stack)
> if the behavior of control i is not empty then
> put the name of control i & cr after sObehaveListA[(the behavior
> of control i)]
> end if
> end repeat
> put the milliseconds - tStart & cr
> put the keys of sObehaveListA after msg
> end mouseUp
>
>
> _______________________________________________
> 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