"value"
Sets the current value of a thumb wheel.
Synopsis
setValue(string shape,"value",int v);
getValue(string shape,"value",int &v);
shape.value(int v);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
v | The current value |
Description
Sets the current value of a thumb wheel.
Example
The following example sets the current value of a thumb wheel to 45 and queries the value.
main(bool enter)
{
THUMB_WHEEL1.value(45);
int val;
getValue("THUMB_WHEEL1","value",val);
DebugN("Current value:", val);
}
Assignment
Thumb wheel