Class RadioGroup
Inheritance
GroupBox | RadioGroup 🡄 GroupBox 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
Columns | The number of columns to split the items into. |
ItemIndex | The currently selected item. |
Items | Strings derived object containings all the items in the list. |
OnClick | Called when the control is clicked. |
Methods
getColumns () | Returns the nuber of columns. |
getItemIndex () | |
getItems () | Returns a Strings object. |
getOnClick () | |
getRows () | Returns the number of rows. |
setColumns ( columns ) | |
setItemIndex ( itemindex ) | |
setOnClick ( onclick ) |
Creation
createRadioGroup ( owner ) | Creates a RadioGroup class object which belongs to the given owner. |
Inheritance
- GroupBox
- RadioGroup 🡄 GroupBox 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- Columns
-
The number of columns to split the items into.
Type:
integer - ItemIndex
-
The currently selected item.
Type:
integer - Items
-
Strings derived object containings all the items in the list.
Type:
- OnClick
-
Called when the control is clicked.
Type:
function
Methods
- getColumns ()
-
Returns the nuber of columns.
Returns:
-
integer
Number of columns.
- getItemIndex ()
-
Returns:
-
integer
- getItems ()
-
Returns a Strings object.
Returns:
- getOnClick ()
-
Returns:
-
function
- getRows ()
-
Returns the number of rows.
Returns:
-
integer
- setColumns ( columns )
-
Parameters:
- columns integer
- setItemIndex ( itemindex )
-
Parameters:
- itemindex integer
- setOnClick ( onclick )
-
Parameters:
- onclick function
Creation
- createRadioGroup ( owner )
-
Creates a RadioGroup class object which belongs to the given owner.
Owner can be any object inherited from WinControl.
Parameters:
- owner WinControl
Returns: