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
Detect window move
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Detect window move
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
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
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9662
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Detect window move
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:
This works similarly to the fabulous "mouseMove" message.
Craig Newman
Code: Select all
on moveStack
put the loc of this stack into fld 1
end moveStack
Craig Newman
-
- Posts: 24
- Joined: Wed Jan 18, 2017 5:38 pm
Re: Detect window move
Thanks for the replies.
So simple once you know how.
So simple once you know how.