Checkbox Control

This control contains items that appear checked when selected. Check boxes commonly are used to present a yes or no choice or a TRUE or FALSE choice to the user.

NOTE:  The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.

The CHECKBOX control supports the following properties.

Property Name

Description

Back Color

Background Color

Bound Field

The Field from which this CHECKBOX will receive it’s data, or in other words, the field that this CHECKBOX will be ‘bound’ to.
NOTE: The bound field MUST be a field of type ‘boolean’

Caption

The descriptive text that this checkbox will contain.

Default

This property determines the default value that will be used to populate this CHECKBOX whenever a new record is added. 

Enabled

Specifies if this CHECKBOX will be enabled or disabled

Font

The FONT this CHECKBOX will use.

Font Size

The SIZE of the font this CHECKBOX will use.

Font Bold

Specifies if the font will be displayed in BOLD.

Font Italic

Specifies if the font will be displayed in ITALIC.

Font Underline

Specifies if the font will be displayed in UNDERLINE.

Fore Color

The foreground color of this CHECKBOX.

Tag

You can use the Tag property to specify or determine the string that identifies the name of a CHECKBOX.  Thereafter, the contents of that CHECKBOX can be referred to elsewhere in the application using the syntax ~TAGNAME~.

ie. If a CHECKBOX is bound to the TAXABLE field of a customers table, you could give this CHECKBOX a TAG name of TAXABLE, which can then be used elsewhere by using the syntax ~TAXABLE~.

Visible

Specifies whether this CHECKBOX will be visible or invisible

Height

The height of this CHECKBOX in Twips*

Width

The width of this CHECKBOX in Twips*

Left

The horizontal location of the top-left corner of this CHECKBOX in Twips*

Top

The vertical location of the top-left corner of this CHECKBOX in Twips*

TabPage If a tab-control is present on the form, this property determines which 'page' of the tab this control will be located on.  0-Not on tab.

The CHECKBOX control supports the following EVENTS.

Event Name

Description

Lost Focus

The lost-focus event fires whenever this CHECKBOX loses the focus.