Web Check Box
From Xojo Documentation
Contents
Use Check Boxes to let the user choose a preference. A Check Box can be checked or unchecked. Check Boxes should not cause an immediate and obvious action to occur except perhaps to enable or disable other controls.
Below are commonly used events and properties. Refer to WebCheckBox in the Language Reference for the complete list.
Events
- Called when the Check Box is clicked.
Properties
- Used to set or change the caption text for the Check Box.
- True if the Check Box is checked, False if it is not checked.
Usage
To determine where the check box has been checked, you can test the Value property like this:
To perform an action when the user checks or unchecks the check box, put code in the ValueChanged event. This code enables a button when the check box is checked by the user:
See Also
WebCheckBox class; UserGuide:Web UI topic