Important: The information in this document is obsolete and should not be used for new development.
GetControlTitle
To determine the title of a control, use theGetControlTitle
procedure. TheGetControlTitle
procedure is also available as theGetCTitle
procedure.
PROCEDURE GetControlTitle (theControl: ControlHandle; VAR title: Str255);
theControl
- A handle to the control whose title you want to determine.
title
- The title of the control.
DESCRIPTION
TheGetControlTitle
procedure returns the specified control title, which is stored in thecontrlTitle
field of the control record.When you create a control, you specify an initial title either in the control resource or in the
title
parameter of theNewControl
function. You can change the title by using theSetControlTitle
procedure.