MethodgetValue
DescriptionThis function retrieves the value of any of the control internal variables.
Return typeCharacter string
Return values
ERR|No variableThe variable wanted doesn't exist.
ERR|Error messageThe error message if an error occurred.
ValueThe variable value.
Parameters
variableThe variable name.
optional index1Some variables belong to a dimension or form an array. This is the first array index.
optional index2This index is used for array variables inside arrays. This is the second array index.
Exampledim bc as OLE_COLOR
bc = Cube1.getValue("BackColor")
ExplanationGets the value of the control back color. Something like &H0e0e0e
See also
setValue Gives value to a control variable.
doActionExecutes a cube action.
Notes
Variables list Click here to see a list of all variable names.