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


QRADIOBUTTON Component

QRadioButton is a simple radio item. If you want to group radiobuttons, use a container like QPanel.

QRadioButton Properties
FieldTypeR/WDefaultSupport





AlignINTEGERRWalNoneW
CaptionSTRINGRWWXG
CheckedINTEGERRWFalseWXG
EnabledINTEGERRWTrueWXG
FontQFONTWW
HandleINTEGERRW
HeightINTEGERRWWXG
HintSTRINGRWWXG
LeftINTEGERRW0WXG
ParentQFORM/QPANEL/QTABCONTROLWWXG
PopupMenuQPOPUPMENUWW
ShowHintINTEGERRWFalseWXG
TabOrderINTEGERRWW
TagINTEGERRWWXG
TopINTEGERRW0WXG
VisibleINTEGERRWTrueWXG
WidthINTEGERRWWXG

QRadioButton Methods
MethodTypeDescriptionParams





QRadioButton Events
EventTypeOccurs when...ParamsSupport





OnClickVOIDUser clicked on radio button0WXG


QRadioButton Examples
  DIM Form AS QForm
  DIM Radio1 as QRadioButton
  DIM Radio2 as QRadioButton
  DIM Radio3 as QRadioButton

  Radio1.Parent = Form
  Radio1.Top = 10
  Radio1.Caption = "Item 1"
  Radio2.Parent = Form
  Radio2.Top = 35
  Radio2.Caption = "Item 2"
  Radio3.Parent = Form
  Radio3.Top = 60
  Radio3.Caption = "Item 3"

  Form.ShowModal

Prev Component Contents Next Component