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
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

QRadioButton Methods
Method Type Description Params





QRadioButton Events
Event Type Occurs when... Params Support





OnClick VOID User clicked on radio button 0 WXG


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 ComponentContentsNext Component