ObjectDCL Banner

MaxValue Property

Description

Sets the maximum value the control can accept.

Type

This property is an integer. The value units are context dependent. It can be percent by setting a range of 0 to 100.

Applies For

ProgressBar, ScrollBar, SliderBar, SpinButton.

Invoking From Old API

Can be passed as "MaxValue" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetMaxValue MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetMaxValue "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetMaxValue MyProject_MyForm_MyControl 100)

(Odcl_Control_SetMaxValue "MyProject" "MyForm" "MyControl" 100)

See Also

MinValue, TickFrequency, Value (ProgressBar), Value (ScrollBar), Value (SliderBar), Value (SpinButton).