How to snap a substack window to the bottom of mainstack window
Klaus Major
klaus at major-k.de
Fri Jul 22 17:58:53 EDT 2005
Hi Ban,
> Hello,
>
> Does anyone know:
>
> How to snap a substack window to the bottom of mainstack window?
> When usr move the main stack, the substack should snap and follow?
>
> Thank you
take a look at the "stackmove" function (?)...
This will be sent AFTER the user has moved a stack around
with the title bar.
So you could script in the "main stack to be dragged":
on movestack
set the topleft of stack "snap stack" to the bottomleft of stack
"main stack"
end movestack
You may have to adjust the locs a bit, but you get the picture :-)
Have a nice weekend!
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list