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


QCHECKBOX Component

QCheckbox is a wrapper for Window's check box control. You are limited to about 60 checkboxes per application.

QCheckbox Properties
FieldTypeR/WDefaultSupport





AlignINTEGERRWalNoneW
CaptionSTRINGRW
WXG
CheckedINTEGERRWFalseWXG
EnabledINTEGERRWTrueWXG
FontQFONTW
W
HandleINTEGERR
W
HeightINTEGERRW
WXG
HintSTRINGRW
WXG
LeftINTEGERRW0WXG
ParentQFORM/QPANEL/QTABCONTROLW
WXG
PopupMenuQPOPUPMENUW
W
ShowHintINTEGERRWFalseWXG
TabOrderINTEGERRW
W
TagINTEGERRW
WXG
TopINTEGERRW0WXG
VisibleINTEGERRWTrueWXG
WidthINTEGERRW
WXG

QCheckbox Methods
MethodTypeDescriptionParamsSupport






QCheckbox Events
EventTypeOccurs when...ParamsSupport





OnClickVOIDUser clicked check box0WXG


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