Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 2 - TextEdit / TextEdit Reference
Routines / Initializing TextEdit, Creating an Edit Record, and Disposing of an Edit Record


TEInit

The TEInit procedure initializes TextEdit.

PROCEDURE TEInit;
DESCRIPTION
In addition to initialization of miscellaneous global variables, such as TEDoText and TERecal, the TEInit procedure sets up the private scrap and allocates a handle to it. Call TEInit at the beginning of your program after you initialize QuickDraw, the Font Manager, and the Window Manager, in that order, and before you initialize the Dialog Manager. You should call TEInit even if your application doesn't use TextEdit, so that desk accessories and dialog and alert boxes, which use TextEdit routines, work correctly.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996