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:
https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.0/12222003_21850_12.gif?src=.PNG
Checkbox when complete:
https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.1/12222003_21757_11.gif?src=.PNG



Adding standard checkboxes
These are the standard FirstClass checkbox states:


https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.2/32102_54146_0.gif?src=.PNG
selected
https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.3/32102_54230_1.gif?src=.PNG
cleared
https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.4/32102_54320_2.gif?src=.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:
https://hirosue.ne.jp/images/FOV1-0000D49E/FOV1-00013FFB/FOV1-000101A7/FOV1-000101BF/FOV1-000101C5/FOV1-000101C7/00015612-0119ED62-0001561D.5/32102_55441_3.gif?src=.PNG
When you draw your custom icons:
       Create two icons for each state, and create both non-3D and 3D versions (even if you only plan to use one view mode). In our example, there are two states (arrow up and arrow down) in both non-3D and 3D.
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 3D icons' boxes so that they look 3D.
To use your customized icons:
1       Import the icons into your settings file.
You must assign resource IDs following the same kind of pattern as shown in our example. Follow these numbering guidelines:
       Number 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 all the non-3D icons first, incrementing each one in the cycle by 1. In our example, these are 999900 to 999903.
       Do the same numbering for the 3D icons, but add 20 to the first number. In our example, these are 999920 to 999923.
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, or 3D versus non-3D. 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 999900.
5       Update the Contents - Field Control tab, if you want this field to control another field.


hirosue Shino Web Site