home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5851 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.0 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!caen!uwm.edu!ogicse!news.u.washington.edu!uw-beaver!ubc-cs!newsserver.sfu.ca!sfu.ca!pchin
  2. From: pchin@fraser.sfu.ca (Patrick Keng Seng Chin)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Reusing a Text Object
  5. Message-ID: <pchin.715064883@sfu.ca>
  6. Date: 29 Aug 92 05:08:03 GMT
  7. Article-I.D.: sfu.pchin.715064883
  8. Sender: news@sfu.ca
  9. Organization: Simon Fraser University, Burnaby, B.C., Canada
  10. Lines: 13
  11.  
  12. How does one reuse a single text object?
  13. For example, several TextField objects in one window
  14. will use one Text object. In the Concepts manual,
  15. it says:
  16. (Under the heading "Reusing a Text Object", page 9-34 of the NeXTStep 1.0
  17.  Concepts manual)
  18. "As an efficiency, a single Text object can be reused: It can be made
  19. to draw in various Views or various locations within one View. In fact,
  20. you can make use of a Window's field editor, the Text object that
  21. the Application Kit uses to draw text within standard Kit objects. 
  22. Using one Text object rather than several saves both startup time and memory."
  23.  
  24. -P.C.
  25.