Hiding and Showing Pallettes

2013-10-14 Thread Andrew Kluthe
Hey Ya'll, I have a window that has child windows that are to be hidden when the parent window is not the current focus, but need to float above the parent window when the parent window is in focus. I have tried leveraging suspend and resume to handle hiding and showing these child palette

Re: Hiding and Showing Pallettes

2013-10-14 Thread dunbarx
double clicking on it will minimize it to the dock. (on a Mac) Craig Newman -Original Message- From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Mon, Oct 14, 2013 3:00 pm Subject: Hiding and Showing Pallettes Hey Ya'll, I have a window

Re: Hiding and Showing Pallettes

2013-10-14 Thread J. Landman Gay
It's hard to say without seeing your setup, but it sounds like the handlers are responding to all stacks rather than just the one you want. That would imply that the stack script is in use, or that your other parent stacks are actually substacks of the main one. If the parent stack that

Re: Hiding and Showing Pallettes

2013-10-14 Thread J. Landman Gay
On 10/14/13 6:03 PM, dunb...@aol.com wrote: Hi. There seem to be NO messages sent when clicking on the titlebar. None at all. I even tried placing a button under the titlebar, to see if messages might pass through, but no dice. It seems that the titlebar belongs more to the finder than to the

Re: Hiding and Showing Pallettes

2013-10-14 Thread Andrew Kluthe
J, That is exactly where I have the handlers placed. The palette stack is a mainstack that gets cloned off a template stack and the same for the parent stack that generates the palette. The parent stack is a scale ticket, a scale ticket has weights which are input on the palette stacks that are

Re: Hiding and Showing Pallettes

2013-10-14 Thread J. Landman Gay
On 10/14/13 7:13 PM, Andrew Kluthe wrote: I get pretty much the exact functionality I want 80 percent of the time, but there are certain things I can click on to get them to stay stuck up. I use a similar script on moveStack and mouseDown in the card to keep the palette visible and floating

Re: Hiding and Showing Pallettes

2013-10-14 Thread J. Landman Gay
On 10/14/13 7:13 PM, Andrew Kluthe wrote: J, That is exactly where I have the handlers placed. The palette stack is a mainstack that gets cloned off a template stack and the same for the parent stack that generates the palette. One more thing...topstacks seem to get all messages. Palettes