Method
getValue
Description
This function retrieves the value of any of the control internal variables.
Return type
Character string
Return values
ERR|No variable
The variable wanted doesn't exist.
ERR|Error message
The error message if an error occurred.
Value
The variable value.
Parameters
variable
The variable name.
optional index1
Some variables belong to a dimension or form an array. This is the first array index.
optional index2
This index is used for array variables inside arrays. This is the second array index.
Example
dim bc as OLE_COLOR
bc = Cube1.getValue("BackColor")
Explanation
Gets the value of the control back color. Something like
&H0e0e0e
See also
setValue
Gives value to a control variable.
doAction
Executes a cube action.
Notes
Variables list
Click here to see a list of all variable names.