dragging 2 windows in synch
Scott Morrow
scott at elementarysoftware.com
Sat Sep 4 02:19:10 EDT 2004
Thank you for that excellent suggestion! I may have been missing the
forest for the drawer in this case as this seems such an obvious
solution... now that you point it out. I do like that drawers can open
from different edges depending what the user might find most
convenient. In this case, where I'm doing something that might
ordinarily be done with a popup menu - if the list of items weren't so
big - having it scroll up without taking the window's handle with it
is the detractor from simply resizing the stack to show the list.
-Scott Morrow
Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
-----------------------------------------------------------------
Richard Gaskin wrote:
> It may be simpler and more consistent with the UI expectations for
> your users to just use a collapsable panel with a disclosure triangle
> instead. In most cases where an OS X drawer would work a collapsable
> panel will work just as well, and the convention is universally
> accepted on all modern platforms (even OS X).
> --
> Richard Gaskin
>> On 8/31/04 9:34 PM, "Scott Morrow" <scott at elementarysoftware.com>
>> wrote:
>>> Hello,
>>> Is there a technique to maintain the relative location of a secondary
>>> stack while dragging the primary stack. I'm not looking to just
>>> update
>>> the window location after the move has completed but to visually
>>> drag
>>> it along with the window that the user is moving. I'm building
>>> routines for simulating drawer behaviors outside of OSX.
>> Well, if it's for OS 9, you're probably out of luck unless you make
>> your own
>> custom windows and your own drag regions. The reason is that the
>> moveStack
>> message isn't sent until *after* you release the mouse on the Mac.
>> Now if
>> this is for Windows, moveStack and resizeStack are sent continually
>> so you
>> could probably get away with something like:
>> on moveWindow
>> set the topLeft of stack "Secondary" to the topRight of this stack
>> end moveWindow
More information about the use-livecode
mailing list