The 3-State Check Box Bean has the three states called, "NOT_SELECTED", "CHECKED", "CROSSED". Put the Jar file in the beans directory of Servoy root folder and Try with sample solution. You can get/set the state by using the state property of the bean.
To Get the State :
- Code: Select all
var state = elements.bn_triState.state
To Set the State :
- Code: Select all
//Set to Checked
elements.bn_triState.state = "CHECKED";
//Set to Not Selected
elements.bn_triState.state = "NOT_SELECTED";
//Set to Crossed
elements.bn_triState.state = "CROSSED";

