Carbon


TXNSelectAll

Header: MacTextEditor.h Carbon status: Supported

Selects all data in the frame of a text object.

void TXNSelectAll (
    TXNObject iTXNObject
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object for the current text area.

DISCUSSION

You can check whether the Select All menu item should be enabled by calling the TXNDataSize function to check if the text object contains any data.

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)