The CheckBox Input node allows you to intercept the state of the Checkbox widget within Widget Designer. Select the CheckBox ID to output the current state:
-1 for "Undetermined"
0 for "Unchecked"
1 for "Checked".
The node can be found under Nodes > Input Nodes > Widgets > CheckBox Input
Or by right-clicking on the respective widget itself and selecting Create related Node > CheckBox Input
Enter here the CheckBox ID this node should refer to.
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).
The node generates the following output:
- State (-1 = Undetermined, 0 = Unchecked, 1 = Checked)