Rapid-Q Documentation by William Yu (c)1999 | Appendix A: QCHECKBOX

# QCHECKBOX Component

  QCheckbox is a wrapper for Window's check box control
  QCheckbox Properties

  Field | Type | R/W | Default | Support

  Align | INTEGER | RW | alNone | W
  Caption | STRING | RW |  | WXG
  Checked | INTEGER | RW | False | WXG
  Enabled | INTEGER | RW | True | WXG
  Font | QFONT | W |  | W
  Height | INTEGER | RW |  | WXG
  Hint | STRING | RW |  | WXG
  Left | INTEGER | RW | 0 | WXG
  Parent | QFORM/QPANEL/QTABCONTROL | W |  | WXG
  PopupMenu | QPOPUPMENU | W |  | W
  ShowHint | INTEGER | RW | False | WXG
  TabOrder | INTEGER | RW |  | W
  Tag | INTEGER | RW |  | WXG
  Top | INTEGER | RW | 0 | WXG
  Visible | INTEGER | RW | True | WXG
  Width | INTEGER | RW |  | WXG

  QCheckbox Methods

  Method | Type | Description | Params | Support

  QCheckbox Events

  Event | Type | Occurs when... | Params | Support

  OnClick | VOID | User clicked check box | 0 | WXG

  QCheckbox Examples

        DIM Form AS QForm
        DIM Checkbox as QCheckBox

        SUB Check
          IF CheckBox.Checked THEN
             SHOWMESSAGE "Checked!"
          END IF
        END SUB

        CheckBox.Parent = Form
        CheckBox.OnClick = Check

        Form.ShowModal

  Prev Component | Contents | Next Component