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: Macintosh Toolbox Essentials /
Chapter 5 - Control Manager / Control Manager Reference
Control Manager Routines / Determining Control Values


GetControlMinimum

To determine a control's minimum setting, use the GetControlMinimum function. The GetControlMinimum function is also available as the GetCtlMin function.

FUNCTION GetControlMinimum (theControl: ControlHandle): Integer;
theControl
A handle to the control whose minimum value you wish to determine.
DESCRIPTION
The GetControlMinimum function returns as its function result the specified control's minimum setting, which is stored in the contrlMin field of the control record.

When you create a control, you specify an initial minimum setting either in the control resource or in the min parameter of the NewControl function. You can change the minimum setting by using the SetControlMinimum procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996