[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomRadioGroup

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCustomRadioGroup: the base type for TRadioGroup

Declaration

Source position: extctrls.pp line 693

type TCustomRadioGroup = class(TCustomGroupBox)

protected

  procedure Loaded; override;

  

  procedure InitializeWnd; override;

  

InitializeWnd - initialise the window for this control

  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;

  destructor Destroy; override;

  function CanModify; virtual;

  

CanModify - if True, modification of the RadioGroup is permitted

  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]

  

ItemIndex - the index value of an entry within the list of Items

  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 Handler for mouse click

  property TabStop;

  

Is the control in the sequence of controls accessed by successive presses of the Tab key?

end;

Inheritance

TCustomRadioGroup

  

TCustomRadioGroup: the base type for TRadioGroup

|

TCustomGroupBox

?

TObject

Description

TCustomRadioGroup: the base type for TRadioGroup

A group of related but mutually exclusive radio buttons, requiring the user to select one af a set of alternatives

This class defines Items, where the captions for 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.