Check-box control
A check-box control is a two-value control that you can use for Boolean values or for any field that has only two values.
A check-box control can be either selected or cleared. When you create the control, you specify the values to associate with the corresponding field when the control is selected or cleared. You can assign any two strings for the values of the control.
Attach a default-value hook to the field for this control. If you do not set the initial value of the control, the value is set to be selected.
The property sheet for a check-box control has two pages.
General page
The following table lists the properties of the General page.
- Property
- Description
- Field Name
- Select the field to associate with the control.
- Label
- Enter a label for the control. By default, the Designer sets the label to the name of the selected field.
- X
- The horizontal starting point of the control in pixels.
- Y
- The vertical starting point of the control in pixels.
- Width
- The width of the control in pixels.
- Height
- The height of the control in pixels.
Extended tab
The following table lists the properties of the Extended page.
- Property
- Description
- Check Value
- Enter the text to be displayed when the check box is selected.
- Uncheck Value
- Enter the text to display when the check box is cleared.