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

type TCustomRadioGroup = class(TCustomGroupBox)

protected

  procedure Loaded; override;

  

  procedure InitializeWnd; override;

  

InitializeWnd - initialise the window for this control

  procedure UpdateRadioButtonStates; virtual;

  

  procedure ReadState(); override;

  

  procedure SetItems();

  

  procedure SetColumns();

  

  procedure SetItemIndex();

  

  function GetItemIndex;

  

  procedure CheckItemIndexChanged; virtual;

  

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.