CNiNumEdit::SetMinMax

CNi

Class
CNiNumEdit::
SetMinMax()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ImportStyleNext page: ValidateControl    
Public Function Declared in:
NiNumedit.h

'Declaration' icon -- Shortcut to top of page. Declaration

void SetMinMax(
    double minimum,
    double maximum);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

double minimum

Specifies the minimum value property.

double maximum

Specifies the maximum value property.

'See Also' icon -- Shortcut to top of page. See Also