Palette redraw problem
scott at tactilemedia.com
Fri May 21 11:25:36 CDT 2004
Recently, "J. Landman Gay" wrote:
>>> I have stack that opens a tool palete. I want the palette to disappear
>>> when the stack is not frontmost, and reappear when it is. I scripted a
>>> suspendStack handler and a resumeStack handler to manage this:
>>> on suspendStack
>>> hide palette "myPalette"
>>> end suspendStack
>>> on resumeStack
>>> show palette "myPalette"
>>> end resumeStack
>>> This works exactly every other time the stack is suspended; that is,
>>> the first time it hides, the second time it doesn't.
> I spent all day on this yesterday, tried everything, and could not
> create a viable solution.
You've thrown down the gauntlet -- this sounds like a good challenge.
Can you explain why the palette needs to disappear when not top most?
Tactile Media, Development & Design
E: scott at tactilemedia.com
More information about the use-livecode