Important: The information in this document is obsolete and should not be used for new development.
SetControlMinimum
To change the minimum setting of a control and redraw its indicator or scroll box accordingly, you can use theSetControlMinimum
procedure. TheSetControlMinimum
procedure is also available as theSetCtlMin
procedure.
PROCEDURE SetControlMinimum (theControl: ControlHandle; minValue: Integer);
theControl
- A handle to the control whose minimum setting you wish to change.
minValue
- The new minimum setting.
DESCRIPTION
TheSetControlMinimum
procedure changes thecontrlMin
field of the control record to the setting you specify in theminValue
parameter and redraws its indicator
or scroll box to reflect its new range.When you create a control, you specify an initial minimum setting either in the control resource or in the
min
parameter of theNewControl
function. To determine a control's current minimum setting, use theGetControlMinimum
function.