On 15/2/00 11:25 pm, Blair Moxon <[EMAIL PROTECTED]> wrote:
> Hello again,
> Is there an easy way to set the layer of an object (dynamically) so that
> when the user clicks on it the object comes to the front of the window. I
> have tried setting the layer to a variable which works, but have had
> inconsistent results.i.e.
>
> on mouseUp
> put the layer of group "Frame" into border
> subtract 1 from border
> put border into newLayer
> set the layer of group "Browser2" to newLayer
> end mouseUp
>
> thanks,
If you're just trying to bring an object to front, try:
on mouseUp
set the layer of group "whatever" to (the number of controls)
end mouseUp
Regards,
Kevin
> Blair Moxon
> [EMAIL PROTECTED]
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm