Check Box Control

A control that indicates a binary condition.

Client support

   Newlook Smartclient

   Newlook Server

Use

A CheckBox control allows the end user to toggle an option on or off. The control displays a tick when selected; the tick disappears when the check box is cleared.

Checkbox and Option button controls function similarly but with an important difference; any number of check box controls on a form can be selected at the same time. In contrast, only one option button in a defined group can be selected at any given time.

Host generated check boxes

A check box control is automatically generated in the GUI whenever the Newlook recognition engine detects a host entry field associated with two field choice values (i.e. Y,N), and those values are listed as check field choices in Check Field Rules.

When a check box is automatically generated, its Choices property will specify the selected and unselected values that will be sent back to the host.

For example, the following screen elements will all result in the automatic generation of a check box control:

     
     
     
     
     

You can assist the recognition engine to automatically generate check boxes by adding custom choice values to Check Field Rules and/or manually adding field choices after the associated entry field in Identify.

Inserted check boxes

A custom checkbox control can be inserted on your form to capture additional boolean data or provide a buddy control for an existing entry field. See Common checkbox tasks below.

Material skin considerations

When the material skin is enabled in your solution, you have the option to display checkboxes in the normal style or as switch buttons (set the UseSwitchButton Property to true). Checkboxes will render in the material primary color when selected and the secondary color when in the indeterminate state (for tri-state checkboxes).

Material skin

Classic skin

See Also

Option button control | Combo box control