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'.
Bob 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@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode