'Resolve image' is useful to know.
However, the indexing solution to identify buttons used as behaviors is fine
as far as it goes, but it will inevitable omit any behaviour buttons if any
'calling' objects are not currently loaded. As you say, behaviors can be set
and changed dynamically, but then
Check out the new resolve command to find the location of an image.
On Nov 28, 2014 5:09 AM, "FlexibleLearning.com"
wrote:
> It's a supplementary idea for the upcoming Control Manager utility to show
> not only the style but the function of a button.
>
> More generally, behaviours are a bit like
Hugh Senior wrote:
It's a supplementary idea for the upcoming Control Manager utility to show
not only the style but the function of a button.
More generally, behaviours are a bit like icons, although locating a
behaviour source is easier than locating an image source!
That got much easier a f
It's a supplementary idea for the upcoming Control Manager utility to show
not only the style but the function of a button.
More generally, behaviours are a bit like icons, although locating a
behaviour source is easier than locating an image source!
Hugh Senior
FLCo
Mike Bonner wrote
> Mind i
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 <
ad...@flexiblelearning.com> wrote:
> Thought as much, Mike. Only wondered if I had missed some ne
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 wrote:
Was curious and tried it. 4000 controls
ould surely write a short function, asking if the behavior of your
> > button of interest is empty.
> >
> >
> > Craig
> >
> >
> >
> > -----Original Message-
> > From: FlexibleLearning.com
> > To: use-livecode
> > Sent: Thu, Nov
Mike-
Nice. That gives you a concordance.
And then isBehavior becomes
function isBehavior pButtonName
return pButtonName is among the lines of the keys of sObehaveListA
end isBehavior
--
-Mark Wieder
ahsoftw...@gmail.com
This communication may be unlawfully collected and stored by the Natio
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
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 referenc
earning.com
> To: use-livecode
> 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
>
>
>
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
To: use-livecode
Sent: Thu, Nov 27, 2014 5:53 am
Subject: Button is behavior
Is there a way to identify whether a
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
13 matches
Mail list logo