![]() |
SetMinMax()








Public Function |
Declared in: NiNumedit.h |
Declaration
void SetMinMax( double minimum, double maximum);
Description
Sets the Minimum and Maximum properties.
Notes:
1. Use the Minimum and Maximum properties to implement range checking on the value of the control. If RangeChecking is true, the control prevents the user from entering a value outside the specified range from minimum to maximum. When RangeChecking is false, the events ValueChanging and ValueChanged both pass back the parameter OutOfRange, which is true if the new value of the control is out of the range from minimum to maximum.
2. See the CNiNumEdit overview for information about using date/time values.
Parameters
double minimum
double maximum
Specifies the minimum value property.
Specifies the maximum value property.