Sticky palettes

Scott Rossi scott at tactilemedia.com
Sat Feb 14 00:05:39 EST 2004


On 2/13/04 8:34 PM, "Ken Norris" <pixelbird at interisland.net> wrote:

> I think I see what your saying. However there is only one window to dock.
> I.e., it's basically a small navigation palette I want to dock to another
> window.
> 
> Let me change the question: Can I poll a window's location as I drag it by
> its titlebar?

You can if you create you own titlebar.  See the stack referenced earlier
today for an example of two docked windows.  In your message box:

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

If you allow a fair amount of overlap between the windows, say maybe 10
pixels or so, the results will probably be acceptable.

As I mentioned, the hidePalettes property is broken, so a standard palette
window will disappear when the stack is suspended.  But as Thomas McGrath
suggested, if you can live with your window floating above all other
applications, you can set the systemWindow property to prevent the palette
from disappearing.

Regards,

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



More information about the use-livecode mailing list