Constrain position of substack

Scott Rossi scott at tactilemedia.com
Wed Oct 11 11:45:51 EDT 2006


Recently, Roger.E.Eller at sealedair.com wrote:

> Can the movement of a substack be confined within the rectangle of an
> object of the mainstack when the substack is dragged by its title bar?

I believe the only way to do this is to create your own title bar and script
it, which is pretty easy to do.  Look in the list archives for custom drag
routines.  You may also want to look at our Drag Sample stack that
illustrates constraining.  In your message box:

  go url "http://www.tactilemedia.com/download/drag_sample.rev"

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com





More information about the use-livecode mailing list