Constrain position of substack

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

Recently, Roger.E.Eller at 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 ""


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
E: scott at

More information about the Use-livecode mailing list