Oct 6, 2008

[FREE] 3-State Check Box Bean for Servoy

The 3-State Check Box Bean has the three states called, "NOT_SELECTED", "CHECKED", "CROSSED". You can get/set the state by using the state property of the bean.

To Get the State :

var state = elements.bn_triState.state

To Set the State :

//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";

I have posted the bean at Servoy Forum. Please check at here.

0 comments: