
Public Member Functions | |
| this (Dialog parent, int id) | |
| Constructs a RadioButton object to interface a given radio button control. | |
| this (WindowBase parent, int id, string text, Rect position, bool firstInGroup=false) | |
| Constructs a radio button to be created at runtime. | |
Radio buttons are also often known as option buttons. The class is identical to CheckBox except for the constructor to create at runtime.
To interface radio buttons in a dialog, the RadioButtonGroup class provides a more convenient interface.
| smjg.libs.sdwf.control.RadioButton.this | ( | Dialog | parent, | |
| int | id | |||
| ) |
Constructs a RadioButton object to interface a given radio button control.
Reimplemented from smjg.libs.sdwf.control.CheckBox.
| smjg.libs.sdwf.control.RadioButton.this | ( | WindowBase | parent, | |
| int | id, | |||
| string | text, | |||
| Rect | position, | |||
| bool | firstInGroup = false | |||
| ) |
Constructs a radio button to be created at runtime.
| parent | the window or dialog on which the radio button will be placed. | |
| id | numeric ID that the radio button will have. | |
| text | the check box's caption text. | |
| position | the position on the parent window where the check box will be placed. | |
| firstInGroup | whether this radio button is the first in its group. |
1.5.4