home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / hypercar / 4557 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.8 KB  |  40 lines

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