ObjectDCL Banner

Value Property

Description

This property contains the value on the control.

Type

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

Applies For

ProgressBar.

Invoking From Old API

Can be passed as "Value" 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_GetValue MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetValue MyProject_MyForm_MyControl 75)

(Odcl_Control_SetValue "MyProject" "MyForm" "MyControl" 75)

See Also

MaxValue, MinValue.