Can't find this anywhere in docs or archives. How can I determine what
object is occupying the top layer of a card at a given moment?
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe
Hi Mark,
put the layer of the last control
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 22-jan-2007, om 18:11
] On Behalf Of Mark
Schonewille
Sent: Monday, January 22, 2007 10:22 AM
To: How to use Revolution
Subject: Re: How do I query 'What object is on top?'
Hi Mark,
put the layer of the last control
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http
Mark,
On second thought, maybe this is what you want:
function topControl
repeat with x = 1 to number of controls
if the layer of control x is the number of layers then return
the id of control x
end repeat
end topControl
It would be nice to do this without repeat loop, though.
Why not this?:
get the long id of the last control
--
Richard Gaskin
Fourth World Media Corporation
___
[EMAIL PROTECTED] http://www.FourthWorld.com
___
use-revolution mailing list
Because this returns the number and not the layer.
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 22-jan-2007, om 18:34
Not tested but should work:
get the name of control (the number of controls of this cd) of this cd
Best,
Mark
On 22 Jan 2007, at 17:11, Mark Powell wrote:
Can't find this anywhere in docs or archives. How can I determine
what
object is occupying the top layer of a card at a given moment?
That won't work because number and layer is not the same. It would be
exactly equal to
put the name of the last control
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web
To get the topmost object:
get the long id of last control
To get its name:
get the short name of the last control
To get its layer:
get the layer of the last control
To get its type-specific number:
get the number of the last control
What else is needed?
--
Richard Gaskin
Richard,
This does do what I was asking about, thanks!
Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Gaskin
Sent: Monday, January 22, 2007 1:02 PM
To: How to use Revolution
Subject: Re: How do I query 'What object is on top?'
To get
10 matches
Mail list logo