Zoom/maximize box
Mark Smith
mark at maseurope.net
Fri Mar 17 16:53:05 EST 2006
I have a dim memory of something like this, and I think the solution
was introducing a small delay before invoking my own resizing handlers.
So if you have all your code in an 'on resizeStack' handler, try
moving it into an 'on customResize' handler, and then make your
resizeStack handler:
on resizeStack
send "customResize" to me int 20 millisecs
pass resizeStack
end resizeStack
This may or may not help, but I think something like it worked for me...
Mark
On 17 Mar 2006, at 19:48, Jon Seymour wrote:
> Hi all,
>
> In my app I manipulate screen elements when the user resizes the
> window. For scaling Rev objects, the Geometry manager works well. I
> do intercept and pass the resizeStack message to do a couple of
> things, for example, reset the tabstops in a field, and redraw the
> altBrowser pane. I use liveResizing simply out of personal
> preference. It all works!
>
> Except...when I click that darn zoom box. On both Mac and Win
> platforms, this causes my resizeStack handlers to fail. The
> Geometry manager works, and I can see in the Message Watcher that
> resizeStack is being sent, but for some reason there is no action.
> When I click the box again to toggle back to the old size, BOOM,
> the items are redrawn too big, reflecting the prior window size.
> The minute I grab and drag the resize area in the lower right of
> the window, everything snaps back to normal.
>
> So, what am I missing? Is there a message sent or some other way to
> know specifically when the zoom box has been clicked?
>
> Thanks,
>
> Jon
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list