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 theGetControlTitleprocedure. TheGetControlTitleprocedure is also available as theGetCTitleprocedure.
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
TheGetControlTitleprocedure returns the specified control title, which is stored in thecontrlTitlefield of the control record.When you create a control, you specify an initial title either in the control resource or in the
titleparameter of theNewControlfunction. You can change the title by using theSetControlTitleprocedure.