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

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!mspace
  3. From: mspace@netcom.com (Brian Hall)
  4. Subject: Re: ICON Button Question
  5. Message-ID: <1992Dec14.234701.8820@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <Bz9qur.Eqr@umassd.edu>
  8. Date: Mon, 14 Dec 1992 23:47:01 GMT
  9. Lines: 21
  10.  
  11. mason@cis.umassd.edu (Mason L. Bliss) writes:
  12.  
  13. >This is probably a FAQ, but.....
  14.  
  15. >Is there any easy way to have an icon associated with a button automagically?
  16. >Basically, I want to just point my control at an icon, and tell it to 'go
  17. >for it'. I want the button to automatically redraw the icon with
  18. >DrawControls(), and do the right thing when hiliting/unhiliting, etc.
  19.  
  20. If you are using TCL, I just submitted a class (CIconBuddy) that does
  21. just that, and it works for large, small, and mini icons.  Look in the
  22. tcl archives on ftp.brown.edu.
  23.  
  24.  
  25. -- 
  26.  
  27.  \ | /   | Brian Hall                 mspace@netcom.com
  28.  - : -   | Mark/Space Softworks       Applelink: markspace
  29.   /|\    |                            America Online: MarkSpace
  30.  |-+-|   |
  31. /-\|/-\  | PUI: Programming Under the Influence.
  32.