[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomRadioGroup: the base type for TRadioGroup
Source position: extctrls.pp line 655
type TCustomRadioGroup = class(TCustomGroupBox) end; |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure UpdateInternalObjectList; |
||
procedure UpdateAll; |
||
procedure InitializeWnd; override; |
|
Copies cached control properties to the just created widget. |
procedure UpdateRadioButtonStates; virtual; |
|
UpdateRadioButtonStates including implementing any pending changes |
procedure ReadState(); override; |
|
|
procedure SetItems(); |
|
SetItems - specifies the strings that form the Items of the group |
procedure SetColumns(); |
|
SetColumns - specifies the number of columns for displaying the items |
procedure SetItemIndex(); |
|
SetItemIndex - specifies an index for an item |
function GetItemIndex; |
|
GetItemIndex - returns an index for an item |
procedure CheckItemIndexChanged; virtual; |
|
CheckItemIndexChanged - find out if the index for an item has changes |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomRadioGroup: calls inherited Create, then sets list of buttons, and initialises layout and sizing properties |
destructor Destroy; override; |
|
Destroy - destructor for TCustomRadioGroup: frees items and buttons, then calls inherited Destroy |
function CanModify; virtual; |
|
CanModify - if True, modification of the RadioGroup is permitted |
procedure FlipChildren(); override; |
||
function Rows; |
|
Rows - the number of rows in which Items (radio boxes) are held |
property AutoFill: Boolean; [rw] |
|
AutoFill - whether responses to Items should automatically be filled in |
property ItemIndex: Integer; [rw] |
|
The Index value in the list of Items (a stringlist with the names of the selections for radio buttons) |
property Items: TStrings; [rw] |
|
Items - a string list containing the captions for the radio boxes |
property Columns: Integer; [rw] |
|
Columns - the number of columns in which the Items (radio buttons) are to be arranges |
property ColumnLayout: TColumnLayout; [rw] |
|
ColumnLayout - HorizontalThenVertical or vice versa |
property OnClick: TNotifyEvent; [rw] |
|
Event called when the selected item changes |
property OnSelectionChanged: TNotifyEvent; [rw] |
|
Event called when the selected item changes |
|
TCustomRadioGroup: the base type for TRadioGroup |
|
| | ||
|
The base class for TGroupBox, TRadioGroup and TCheckGroup. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
A group of related but mutually exclusive radio buttons, selectable by the user.
This class defines Items, where the captions of the individual radio boxes are stored, Rows and Columns for arranging the radio boxes, and ColumnLayout to determine whether the data are arranged down the columns first, or across the rows first.
lazarus-ccr.sourceforge.net |