Adjusting rev window to full-screen
Francis Nugent Dixon
effendi at wanadoo.fr
Wed Jun 14 15:59:39 EDT 2006
Hi from Paris,
Thanks to Bill and Rob for the clarification, and
especially Rob for the last mail - This is what I
wanted to do all along ....
-Francis
"Nothing should ever be done for the first time !"
--------------------------------------------------------------------
from Bill
> resizeStack newWidth, newHeight, oldWidth, oldHeight
>
> is sent whenever a stack is resized (such as when a user clicks the
> Maximize button)
>
> the [working] screenRect[s]
>
> returns the size of the screen[s]
from Rob
> on mouseUp
> lock messages
> set the width of this stack to [whatever formula you use to relate
> width to height]
> unlock messages
> set the height of this stack to (the thumbPosition of me) -- will
> trigger resizeStack
> end mouseUp
> If you want the stack to resize dynamically while the user moves the
> slider, add
>
> on mouseMove
> mouseUp
> end mouseMove
More information about the use-livecode
mailing list