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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution