trapping something like "resizestack finished" on Windows? :-)

Mike Bonner bonnmike at gmail.com
Tue Apr 17 16:56:17 EDT 2012


Use a send in time to do this.

create a handler to do whatever it is that you want done when the stack is
done resizing

command resizingDone
if the mouse is up then
### stuff to do after resize
end if
end resizingDone


And use a send in time from the resizestack handler

on resizestack
## any code you want to run during resize
send resizingDone to me in 1 tick
end resizestack

On Tue, Apr 17, 2012 at 2:44 PM, Klaus on-rev <klaus at major.on-rev.com>wrote:

> Hi Dar,
>
> Am 17.04.2012 um 21:02 schrieb Dar Scott:
>
> > On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote:
> >
> >> I have some scripts that I need to execute AFTER the user has finished
> resizing my stack.
> >> On the Mac I can set "the liveresizing" of my stack to false and simply
> execute my scripts at
> >> the end of my "resizestack" handler. But this does not work on windows,
> where "liveresizing"
> >> is always true resp. does not have any effect.
> >>
> >> Any hints how I can trap that above menitoned moment on Windows?
> >
> > Check 'the mouse' in resizeStack?
>
> ah, you mean for UP or DOWN?
> Hm, yep, looks like it is always DOWN in that case.
>
> And? Sorry, what am I missing?
>
> > dar
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list