The Check Box and Radio Button objects both have two modes of operation: Normal and Tri-State.
The modes work in essentially the same way for each object.
Normal mode is, as the name implies, the normal mode of operation for the object. In this mode, the object has two possible states: FALSE (not selected) and TRUE (selected).
Object State | Check Box | Radio Button | ||
---|---|---|---|---|
Plain | Push Like | Plain | Push Like | |
FALSE | ||||
TRUE |
When the user clicks/selects the object during runtime — that is, when the object state is set to TRUE — the value of the project tag configured in the Tag field of the object properties is set to equal the value configured in the True Value field.
Tri-State mode is enabled by selecting the Tri-State option in the object's Object Properties dialog. This adds a third possible state to the object.
Object State | Check Box | Radio Button | ||
---|---|---|---|---|
Plain | Push Like | Plain | Push Like | |
FALSE | ||||
TRUE | ||||
TRI-STATE |
Clicking/selecting the object the first time works the same as it does in Normal mode.
When the user clicks/selects the object a second time, the object state is set from TRUE to TRI-STATE and the value of the tag configured in the Tag field of the object properties is set to equal the value configured in the Tri-State field.
Current State of Object | How Object Changes When Clicked | |
---|---|---|
Check Box | Radio Button | |
FALSE | Object state set to TRUE and value set to equal True Value | |
TRUE | Object state set to TRI-STATE and value set to equal Tri-State | |
TRI-STATE | Object state set to FALSE and value set to NOT True Value | Object state set to TRUE and value set to equal True Value |
For example, if True Value equals 1 and Tri-State equals 0, then when the object is reset to FALSE, the tag configured in the Tag field will be set to 2. If True Value equals -4 and Tri-State equals 0, then when the object is reset to FALSE, the tag configured in the Tag field will be set to 3.