
Sets the maximum value the control can accept.
This property is an integer. The value units are context dependent. It can be percent by setting a range of 0 to 100.
ProgressBar, ScrollBar, SliderBar, SpinButton.
Can be passed as "MaxValue" to Control_SetProperty and Control_GetProperty's string property name where applicable.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetMaxValue MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetMaxValue "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetMaxValue MyProject_MyForm_MyControl 100) (Odcl_Control_SetMaxValue "MyProject" "MyForm" "MyControl" 100) |
MinValue, TickFrequency, Value (ProgressBar), Value (ScrollBar), Value (SliderBar), Value (SpinButton).