Sticky palettes
Ken Ray
kray at sonsothunder.com
Sat Feb 14 14:10:01 EST 2004
> In SC there is a cool function called dragWindow wherein you
> can get one window (in this case a palette window) to stick
> to another window, i.e., when you drag the one, the other
> sticks to it in the designated position.
Ken, "dragWindow" in SC is just a message sent ot the current window
when the window has been dragged using the titleBar. In Rev, this same
message is called "moveStack".
Note that in SC you get this message when you have finished dragging; in
Rev, you get the same message when you have finished dragging on the
Mac, but you get the message *continually* while you are dragging in
Windows. In either case, you get two parameters that come in as part of
the moveStack message that correspond to the top-left corner of the
stack window at its new location.
Just FYI,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list