home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22145 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.2 KB

  1. Path: sparky!uunet!decwrl!csus.edu!ucdavis!flauta.engr.ucdavis.edu!cklarson
  2. From: cklarson@flauta.engr.ucdavis.edu (Christopher Klaus Larson)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Geneva 9 Radio Buttons, Checkboxes, etc...
  5. Message-ID: <21769@ucdavis.ucdavis.edu>
  6. Date: 25 Jan 93 18:50:24 GMT
  7. References: <01050133.oc46s3@distant.uucp>
  8. Sender: usenet@ucdavis.ucdavis.edu
  9. Organization: College of Engineering - University of California - Davis
  10. Lines: 17
  11.  
  12. In article <01050133.oc46s3@distant.uucp> edw@distant.uucp writes:
  13. >I just got ahold of SuperClock! 4.0.2 (very nice), and while I've used
  14. >SuperClock! for a few years, the nice, tasteful Geneva 9 radio buttons etc.
  15. >just got me thinking about how I could do them in my own dialogs.
  16.  
  17. The standard controls which contain text (buttons, check boxes, radio buttons,
  18. and pop-up menus) can be made to display their text in the window's font by
  19. adding the constant useWFont ( = 8) to the procID of the control at the time of
  20. creation. Thus, to display Geneva 9 radio buttons, set the window's (or
  21. dialog's) font to Geneva 9 and create all of your radio buttons with the
  22. procID (radioButProc + useWFont).
  23.  
  24. That should do the job. Of course you still could write your own CDEF...
  25.  
  26. --Chris
  27. cklarson@engr.ucdavis.edu
  28.  
  29.