home *** CD-ROM | disk | FTP | other *** search
- 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
- From: pchin@fraser.sfu.ca (Patrick Keng Seng Chin)
- Newsgroups: comp.sys.next.programmer
- Subject: Reusing a Text Object
- Message-ID: <pchin.715064883@sfu.ca>
- Date: 29 Aug 92 05:08:03 GMT
- Article-I.D.: sfu.pchin.715064883
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- Lines: 13
-
- How does one reuse a single text object?
- For example, several TextField objects in one window
- will use one Text object. In the Concepts manual,
- it says:
- (Under the heading "Reusing a Text Object", page 9-34 of the NeXTStep 1.0
- Concepts manual)
- "As an efficiency, a single Text object can be reused: It can be made
- to draw in various Views or various locations within one View. In fact,
- you can make use of a Window's field editor, the Text object that
- the Application Kit uses to draw text within standard Kit objects.
- Using one Text object rather than several saves both startup time and memory."
-
- -P.C.
-