Small company logo:
   History
 
Advertising banner:
 
 LDR2001
 



About checkboxes



A checkbox lets users select (to turn on) or clear (to turn off) an option. You can make checkboxes appear within a group box.
Checkbox when drawn:
12222003_21850_12.png
Checkbox when complete:
12222003_21757_11.png



Adding standard checkboxes
These are the standard FirstClass checkbox states:


32102_54146_0.png
selected
32102_54230_1.png
cleared
32102_54320_2.png
unchanged

To add a checkbox using these states:
1       Choose Fields > Buttons & Groups > Checkbox.
2       Add this field to the form.
3       Update the following fields on the Contents - Data tab of the Field Attributes form as required:

Text
The checkbox label.
States
2
The selected and cleared states are available.
3
The selected, cleared, and unchanged states are available.
Default
The default state for the checkbox. Click this until you see the state you want to be the default.
4       Update the Contents - Field Control tab, if you want this field to control another field.



Adding customized checkboxes
You can use custom icons for your checkbox states, as in the following example:


Custom icon
Resource ID
7122007_12002_0.png
999920
7122007_12558_1.png
999921
7122007_13109_3.png
999922
7122007_12844_2.png
999923

When you draw your custom icons:
•       Create two icons for each state. In our example, there are two states (vertical line and horizontal line).
The second icon for each state is the same as the first, except for a gray background. It indicates that the checkbox is currently being clicked.
•       Draw each icon with a boundary box, so that it looks like a checkbox. Draw the boundary boxes so that they look 3D.
To use your customized icons:
1       Import the icons into your resource file.
You must assign resource IDs to your icons in the order you want them to show as a user cycles through the checkbox states. For each state, use first the unclicked, then the clicked appearance.
Number the icons using a base number, with 20 added to it for the first icon. Increment each icon in the cycle by one. In our example, the base number is 9999.
2       Choose Fields > Buttons & Groups > Checkbox.
3       Add this field to the form.
Make the checkbox field large enough to accommodate your icons.
4       Update the following fields on the Contents - Data tab of the Field Attributes form as required:

Text
The checkbox label.
States
The number of states. This number does not include clicked versus unclicked. The maximum number of states is 10.
For our example, we would specify two states.
Default
The default state for the checkbox. Click this until you see the state you want to be the default.
Icon ID
The resource ID of your first icon.
In our example, this is 999920.
5       Update the Contents - Field Control tab, if you want this field to control another field.