"grab me" script off page
bobs at twft.com
Wed Dec 14 20:18:52 CST 2011
I think you can trap for the dragMove message, then compare the edges of the object with the same bounds of the window itself. I would suggest however, that you issue a wait for x milliseconds with messages to allow the engine to keep up, and pass dragMove in your handler. That is just off the top of my head tho'.
On Dec 14, 2011, at 5:49 PM, Kathy Jaqua wrote:
> Hi It has been a long time.
> Does anyone have a script as to how I might keep a field from moving past the
> edge of a stack (No longer to be seen).
> That is to say, In a "grab me" script how do I stop a user dragging a field
> (or graphic ) past a point on a stack.
> Thank you for your time and trouble
> Kathy Grave Jaqua
> A Wildest Dream Software
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode