Page 1 of 1

Set Substack in the middle of Mainstack

Posted: Wed Nov 18, 2009 12:33 pm
by alemrantareq
Hi everybody,
We use the screenloc function to set the stack in the middle of screen. I want to know how to set the substack in the middle of mainstack wherever the mainstack being moved? Thanks in advance...

Posted: Wed Nov 18, 2009 2:34 pm
by Paul D
maybe try on the mainstack

Code: Select all

on movestack
set the location of stack "substack" to the location of stack "yourmainstack"
end movestack

Posted: Wed Nov 18, 2009 2:35 pm
by Klaus
Hi,

simple as:
...
set the loc of stack "substack" to the loc of stack "mainstack"
...

If I understood you correctly :-)


Best

Klaus

Posted: Wed Nov 18, 2009 3:40 pm
by alemrantareq
Great ! Thanks you a lot . . . :lol: