Constrain position of substack

Ken Ray kray at sonsothunder.com
Wed Oct 11 12:51:51 EDT 2006


On 10/11/06 10:45 AM, "Scott Rossi" <scott at tactilemedia.com> wrote:

> 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.

Agreed. The reason is that you don't get an event when dragging the titlebar
until you have finished dragging. You can always "snap back" your stack to
the proper location after the mouse is up, but it looks funky, IMHO.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list