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

TCustomCheckGroup

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

TCustomCheckGroup is the base type for TCheckGroup.

Declaration

Source position: extctrls.pp line 823

type TCustomCheckGroup = class(TCustomGroupBox)

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  procedure UpdateInternalObjectList;

  

Updates the control when the Items property is changed.

  procedure UpdateAll;

  

Updates both the Items and the number of controls per line.

  procedure SetItems();

  

Sets the value for the Items property.

  procedure SetColumns();

  

Sets the value for the Columns property.

  procedure DefineProperties(); override;

  

DefineProperties - overrides the method inherited from TComponent, defines the top, left properties.

  procedure ReadData();

  

Reads LCL component streaming data from a stream.

  procedure WriteData();

  

Writes LCL component streaming data to a stream.

  procedure Loaded; override;

  

Performs actions needed when the component has finished loading from the LCL component streaming mechanism.

  procedure DoOnResize; override;

  

Signals OnResize event handlers for the control.

  procedure Notification(); override;

  

Handles the notification for a components inserted into or deleted from the control.

public

  constructor Create(); override;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure FlipChildren(); override;

  

Flips child controls horizontally.

  function Rows;

  

Number of rows need to display Items (check boxes ) defined in the control.

  property AutoFill: Boolean; [rw]

  

Indicates if check boxes are resized to fill the available space in the control.

  property Items: TStrings; [rw]

  

String list with the captions for the check boxes in the grouped edit control.

  property Checked []: Boolean; [rw]

  

Whether an individual entry in the list is Checked.

  property CheckEnabled []: Boolean; [rw]

  

CheckEnabled - whether a given (indexed) entry in the list is allowed to be checked.

  property Columns: Integer; [rw]

  

Columns is the number of columns in which the Items (check boxes) are arranged.

  property ColumnLayout: TColumnLayout; [rw]

  

ColumnLayout - HorizontalThenVertical or vice versa.

  property OnItemClick: TCheckGroupClicked; [rw]

  

OnItemClick - event handler signalled when the mouse is clicked on one of the Items in the control.

end;

Inheritance

TCustomCheckGroup

  

TCustomCheckGroup is the base type for TCheckGroup.

|

TCustomGroupBox

  

The base class for TGroupBox, TRadioGroup and TCheckGroup.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TCustomCheckGroup is the base type for TCheckGroup. This class defines Items, where the captions for individual check boxes are stored, Rows and Columns for arranging the check boxes, and ColumnLayout to determine whether the data are arranged down the columns first, or across the rows first.

See also

TCustomGroupBox

  

The base class for TGroupBox, TRadioGroup and TCheckGroup.


Version 3.2 Generated 2024-02-25 Home