home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / hypercar / 2942 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  1.2 KB

  1. Xref: sparky comp.sys.mac.hypercard:2942 alt.hypertext:615
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!doug.cae.wisc.edu!umn.edu!xerxes!thingles
  3. From: thingles@xerxes.cs.umn.edu (Jamie Thingelstad)
  4. Newsgroups: comp.sys.mac.hypercard,alt.hypertext
  5. Subject: Re: Greater than one line of code to palette buttons
  6. Message-ID: <1992Jul31.210836.13571@news2.cis.umn.edu>
  7. Date: 31 Jul 92 21:08:36 GMT
  8. References: <34834@arctic.nprdc.navy.mil>
  9. Sender: thingles@xerxes.cs.umn.edu
  10. Followup-To: thingles@xerxes.cs.umn.edu
  11. Organization: University of Minnesota, Minneapolis, CSci dept.
  12. Lines: 20
  13. Nntp-Posting-Host: xerxes.cs.umn.edu
  14.  
  15. I found the same problem before. I worked around it by having the palette
  16. buttons call handlers in the stack script... so the palette buttons script is:
  17.  
  18. on mouseUp
  19.   callMyHandlerInStackScript
  20. end mouseUp
  21.  
  22. and then just place that handler in stack script...
  23.  
  24. on callMyHandlerInStackScript
  25.   -- do stuff here
  26. end callMyHandlerInStackScript
  27.  
  28. hope that helps...
  29.  
  30. --
  31.  
  32.  
  33. +------------------------------------------------------------------------------+
  34. |  Jamie Thingelstad                 | Ronald Reagan: A Triumph of the         |
  35.