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 / Setting and Getting an Edit Record's Text and Character Attribute Information


TESetStyleHandle

The TESetStyleHandle procedure sets an edit record's style handle, which is stored in the txFont and txFace fields.

PROCEDURE TESetStyleHandle (theHandle: TEStyleHandle; 
                            hTE: TEHandle);
theHandle
The style handle to be set in the combined txFont and txFace fields of the specified edit record.
hTE
A handle to the edit record.
DESCRIPTION
The TESetStyleHandle procedure has no effect on monostyled edit records.

Your application should always use TESetStyleHandle rather than manipulate the fields of the edit record directly.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996