home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18089 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!transfer!ceylon!choffman.gte.com!user
  2. From: chuck@gte.com (Chuck Hoffman)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Setting font size, style, etc. using TextEdit
  5. Message-ID: <chuck-061192120500@choffman.gte.com>
  6. Date: 6 Nov 92 17:07:03 GMT
  7. References: <18832@bunny.GTE.COM>
  8. Sender: news@ceylon.gte.com
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: GTE Laboratories
  11. Lines: 27
  12.  
  13. In article <18832@bunny.GTE.COM>, rc05@gte.com (Ramesh Chandak) wrote:
  14. > how do i change the font size, style, etc. of the text written in a boxframe
  15. > generated using TextEdit. Any ideas / suggestions ?  Please email your
  16. > replies to Ramesh at rc05@gte.com.  Thanx.
  17. > - Ramesh
  18.  
  19. Ramesh,
  20.    I use the following in the Chassis sample application.  If you want
  21. plain (non-bold, non-italic) text face, use NIL as the argument to
  22. TextFace.
  23.  
  24. TextFont(geneva);
  25. TextFace(bold);
  26. TextSize(12);
  27. TextBox ("Table of Contents", 17, &workRect, teJustCenter);
  28.  
  29.  
  30. Chuck Hoffman
  31. chuck@gte.com
  32. GTE Laboratories, Waltham, Massachusetts, USA
  33. (617) 466-2131
  34. =====================================
  35. I'm not sure why we're here, but I am sure that while we're here we're
  36. supposed to help each other.
  37. =====================================
  38.