get the layer of a control within its group

Wilhelm Sanke sanke at hrz.uni-kassel.de
Wed May 14 16:15:01 EDT 2003


On Tue, 13 May 2003  erik hansen <erikhans08 at yahoo.com> wrote:

(snip)


> but is their an easy way to get the layer of a
> control relative to its group?
>
> thanks,
>
> Erik
>
Erik,

Subtract the layer of the owner group from the layer of the control like
in

"put (the layer of fld "red" - the layer of the owner of fld "red") into
RelativeLayer"

Regards,

Wilhelm Sanke




More information about the use-livecode mailing list