get the layer of a control within its group

erik hansen erikhans08 at yahoo.com
Wed May 14 17:27:01 EDT 2003


From: miscdas at boxfrog.com 
I suspect you diodn't read the Transcript
Dictionary entry for layer.
subtract the group layer value from the pertinent
control layer value.

From: "Wilhelm Sanke" <sanke at hrz.uni-kassel.de>
Subtract the layer of the owner group
from the layer of the control 
"put (the layer of fld "red" - the layer of the \
owner of fld "red") into RelativeLayer"

From: "Devin Asay" <devin_asay at byu.edu>
revert to HyperCard convention relative to
controls 
 in a group by referring to background button n,
where n is the button number and therefore should
reflect its layer within the group.

===

thanks for the solution,

Erik

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the use-livecode mailing list