grow window from bottom

Klaus Major k_major at os.surf2000.de
Mon Apr 21 10:50:01 CDT 2003


Hi Steven,

> Hi,
>
> Anybody know a script the will grow a stack window from the bottom.
>
> Currently i am using
>
>  "set the height of this stack to << whatever ht >>"  this causes the 
> stack to grow at the top and the bottom of the window.  On occasion 
> this places the top of the window under the menu bar and keeps it from 
> being moved.

Try this:

on ...
   get the rect of this stack
   add x to item 4 of it
   ## x is YOUR value
   set the rect of this stack to it
end ...

> Thanks,
>
> Steve

Happy eastern :-)


Regards

Klaus Major
k_major at os.surf2000.de




More information about the use-livecode mailing list