'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
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
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
Check out the new resolve command to find the location of an image.
On Nov 28, 2014 5:09 AM, FlexibleLearning.com ad...@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,
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
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 ad...@flexiblelearning.com
To: use-livecode use-livecode@lists.runrev.com
Sent: Thu, Nov 27, 2014 5:53 am
Subject: Button
that it supplies behavior to.
On Thu, Nov 27, 2014 at 8:49 AM, dunb...@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 ad...@flexiblelearning.com
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
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
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
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, dunb...@aol.com wrote:
Hugh.
You could surely write a short function, asking if the behavior of your
button
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 bonnm...@gmail.com wrote:
Was curious and
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 new
13 matches
Mail list logo