Page 1 of 1
Detect window move
Posted: Wed Feb 01, 2017 5:51 pm
by dpatterson
Okay. This must be really simple and just haven't done the correct search.
How do I detect that a window/stack has been/is moving?
TIA
Dave
Re: Detect window move
Posted: Wed Feb 01, 2017 6:07 pm
by jmburnod
Hi Dave,
You can use "movestack" to know if stack is moving
For has been moving, just put "false" into a variable on openstack and set this variable to true when the stack is moving.
Best regards
Jean-Marc
Re: Detect window move
Posted: Thu Feb 02, 2017 1:19 am
by dunbarx
If you want to get fancy for no good reason at all, if you happened to have a field you could watch this in the card script:
Code: Select all
on moveStack
put the loc of this stack into fld 1
end moveStack
This works similarly to the fabulous "mouseMove" message.
Craig Newman
Re: Detect window move
Posted: Tue Feb 14, 2017 1:14 am
by dpatterson
Thanks for the replies.
So simple once you know how.
