Can LC get Loc of a group with respect to group not stack? - Solved
Posted: Fri May 15, 2020 5:56 pm
Can LC get Loc of a group "test" with respect to group "ScrollArea" not stack?
I am using a scrolling group "ScrollArea" which has a height of 2000.
Group "Test" is a group within group "ScrollArea".
My stack height id 1024.
The code within group "Test" is :
on mouseUp
put loc of me into tLocMe
answer "Locaton = " & tLocMe
end mouseUp
When I touch the group "Test" that is near the bottom of group "ScrollArea",
it displays the location with respect to the stack, not the group "ScrollArea".
Is there a way to get the location the group "Test" with respect to the group "ScrollArea"?
Thanks,
David
I am using a scrolling group "ScrollArea" which has a height of 2000.
Group "Test" is a group within group "ScrollArea".
My stack height id 1024.
The code within group "Test" is :
on mouseUp
put loc of me into tLocMe
answer "Locaton = " & tLocMe
end mouseUp
When I touch the group "Test" that is near the bottom of group "ScrollArea",
it displays the location with respect to the stack, not the group "ScrollArea".
Is there a way to get the location the group "Test" with respect to the group "ScrollArea"?
Thanks,
David