Value Property
|
Sets / Gets gui object’s value.
SYNTAX
Pseudo-OOP:
Set:
<ParentWindowName>.<ControlName>.Value
:= <Value>
Get:
<ParentWindowName>.<ControlName>.Value -> <Value>
Function syntax:
Set:
SetProperty ( <ParentWindowName>,<ControlName>, Value
, <Value> )
Get:
GetProperty ( <ParentWindowName>,
<ControlName>, Value ) -> <Value>
Remarks
<Value> type depends upon the control type:
DATEPICKER : Date.
MONTHCALENDAR: Date
TEXTBOX : Character.
TEXTBOX (Numeric) : Numeric.
TEXTBOX (Password) : Character.
RADIOGROUP : Numeric (Option Selected).
CHECKBOX : Logical.
COMBOBOX : Numeric (Row Selected).
LISTBOX : Numeric (Row Selected).
LISTBOX (Multiselect): Numeric Array (Rows Selected).
GRID : Numeric (Row Selected).
GRID (Multiselect): Numeric Array (Rows Selected).
EDITBOX : Character.
TAB : Numeric (Active Page).
SPINNER : Numeric.
SLIDER : Numeric.
BROWSE: Numeric (Selected Record Number (RecNo()))
TIMER : Numeric (Write Only)
PROGRESSBAR : Numeric (Write Only)