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

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to