CheckBox                                                                                                    Object

A CHECKBOX object is a text field preceded by a square box that may or may not have a check mark inside the square box. The user causes a checkbox to be "checked" or "not checked" by tapping inside the box. Checkbox objects are normally used to indicate a choice of some parameter or value where the possible choices are either yes/no, on/off, etc. Use the Group ID property to make checkboxes mutually exclusive.

 

Properties Supported (Set at design time)

Label, Font ID, Text, Group ID, Anchor Left, Selected, Visible

 

Methods Supported (See "Methods")

Left, Top, Width, Height, Hide, Show, Redraw, Text, Status, ID, Index, Type

 

Example

Msgbox "The checkbox status is " + str(chkYesNo.status)

If mydb_yes_no_fld=1 then chkYesNo.status = nsbChecked else chkYesNo.status = nsbUnchecked