How do I query 'What object is on top?'
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Jan 22 12:31:33 EST 2007
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.
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:21 heeft Mark Schonewille het volgende geschreven:
>
> Op 22-jan-2007, om 18:11 heeft Mark Powell het volgende geschreven:
>
>> 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
More information about the use-livecode
mailing list