Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!decwrl!mcnc!beguine!mikef From: mikef@bbs.acs.unc.edu (Michael Freedburg) Newsgroups: comp.sys.mac.hypercard Subject: what message is sent when a palette is closed? Keywords: palette, taking some action when it is closed Message-ID: <2727@beguine.UUCP> Date: 25 Feb 91 21:38:44 GMT Sender: usenet@beguine.UUCP Lines: 23 Killer question, folks!! I have a neat little palette which the user can show by clicking on a button called "Show Palette". Once the palette appears, I can easily have the button hide itself, but now the matter at hand..... HOW do I tell when the user closes the palette? Wen I use the Message Watcher (which is really supercool, BTW) no message appears when I close the palette. Is there a message sent, or is there some way to determine when the palette is closed?? I **do not** want to do some stupid "on idle" handler to check for the palette, since using on idle and not passing it correctly is one reason I am rewriting this person's stack in the first place!! ##$$Great Hint: Ever been stymied by the need to have the user click on a button **and** keep text selected?? Use a palette, since when a button is clicked there, the selection on the card is not disturbed!! Send Help Soon Love and Peace mikef@samba.acs.unc.edu or mikef@next1.mscre.unc.edu