Carbon


TXNDeleteObject

Header: MacTextEditor.h Carbon status: Supported

Deletes a previously allocated text object.

void TXNDeleteObject (
    TXNObject iTXNObject
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object to be deleted.

DISCUSSION

You should call the TXNDeleteObject function when you close the window associated with a text object. The function TXNDeleteObject releases the specified text object and all associated data structures from memory. If the object has multiple frames, all frames are deleted.

VERSION NOTES

Multiple frames are not supported in MLTE version 1.1.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)