home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!caen!saimiri.primate.wisc.edu!zazen!news
- From: demerit@vms.macc.wisc.edu (J. DeMerit)
- Subject: Re: Changing tool on close palette?
- Message-ID: <1992Dec14.180744.10572@macc.wisc.edu>
- Sender: news@macc.wisc.edu (USENET News System)
- Organization: University of Wisconsin Academic Computing Center
- Date: 14 DEC 92 12:04:30
- Lines: 29
-
- In article <1992Dec11.184559.28564@galileo.cc.rochester.edu>, da003b@uhura.cc.rochester.edu (Vogon Poet) writes...
-
- >In <1g8d7tINNvd@calvin.usc.edu> alves@calvin.usc.edu (William Alves) writes:
- >
- >>Here's the problem: I've created a paint tools palette because I would
- >>like the users of my stack to have access to paint tools without having
- >>access to the button tool and field tool on the HyperCard tools palette.
- >>However, I've run into a problem when the user selects a paint tool and
- >>then closes the palette. Now they have no way to get back to the browse
- >>tool (besides the somewhat awkward command-tab). They cannot click on
- >>any button to bring the paint palette back up, and I am not using the
- >>Mac menu bar for other reasons. Closing the palette does not send out
- >>any HyperCard message that I've been able to see. I finally thought of
- >>checking for the existence of the palette window within the idle loop,
- >>but idle messages are never sent when paint tools are chosen! Any sug-
- >>gestions? Thanks.
- >
- >>Bill Alves
- >
- >I would think that hypercard has some form of close palette message, but I
- >don't know offhand what it is. I can't help you there, but I can help you
- >with your idle check. There is an external called 'true-idle' availably
- >through anonymous ftp to sumex-aim.stanford.edu in /info-mac/card/x
- >
-
- The handler is "on closePalette" and at this point you should change the
- cursor to you liking and then "pass closePalette"
-
-
-