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

TCheckGroup

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

TCheckGroup : A group of Check Boxes physically and logically grouped together on a form

Declaration

Source position: extctrls.pp line 1026

type TCheckGroup = class(TCustomCheckGroup)

published

  property Align;

  

Used to align the control to the top, bottom, left or right of its client.

  property Anchors;

  

The set of anchor definitions for this control

  property AutoFill;

  

AutoFill - whether Check Boxes should be automatically filled in (checked)

  property AutoSize;

  

Whether auto-size is to be used

  property BorderSpacing;

  

Determines the border spacing for this control

  property Caption;

  

Caption: the string which appears at the top of the Check Group Box

  property ChildSizing;

  

Definitions how any child control is to be sized (read/write).

  property Color;

  

Determine the colour for the current control

  property ColumnLayout;

  

ColumnLayout - HorizontalThenVertical or vice versa

  property Columns;

  

Columns - the number of columns in which the Items (check boxes) are to be arranges

  property Constraints;

  

Determine Constraints (max and min height and width) for this control

  property Enabled;

  

Whether the control is Enabled (read/write). If not, it usually appears 'greyed-out'

  property Font;

  

The font to be used for text in this control (read/write).

  property Items;

  

Items - a string list containing the captions of the check boxes

  property OnChangeBounds;

  

Event handler for a change in bounds of the control

  property OnClick;

  

Event Handler for mouse click

  property OnDblClick;

  

Event Handle for mouse double-click

  property OnEnter;

  

OnEnter - event handler for when the mouse enters the control, and the control receives focus

  property OnExit;

  

OnExit - event handler for when the mouse leaves the control and it loses focus

  property OnItemClick;

  

OnItemClick - event handler for mouse click on one of the Items in the Check Group

  property OnKeyDown;

  

OnKeyDown - event handler for instance when key is down while control has focus

  property OnKeyPress;

  

OnKeyPress - event controller for a key being pressed while the control has focus. To properly handle national chars use UTF8KeyPress instead.

  property OnKeyUp;

  

OnKeyUp - event handler for instance when a key is up (not pressed) while the control has focus

  property OnMouseDown;

  

Event handler for when a mouse button is pressed down

  property OnMouseEnter;

  property OnMouseLeave;

  property OnMouseMove;

  

Event handler for mouse movement within the current control

  property OnMouseUp;

  

Event handler for when the mouse button is released, ie "up"

  property OnResize;

  

Event Handler for resize of control

  property OnUTF8KeyPress;

  

UTF8KeyPress - event controller for a key being pressed while the control has focus.

  property ParentFont;

  

ParentFont - should the control use the same font as the parent? Default is true

  property ParentColor;

  

ParentColor - should the control have the same colour as the parent? Default is true

  property ParentShowHint;

  

ParentShowHint - does the control adopt the same hinting behaviour as its parent? Default is true

  property PopupMenu;

  

PopupMenu - a context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ShowHint;

  

Flag to determine: Is hint to be displayed for this control?

  property TabOrder;

  

The place this control occupies in the list of tabs

  property Visible;

  

Visible - can the control be seen?

end;

Inheritance

TCheckGroup

  

TCheckGroup : A group of Check Boxes physically and logically grouped together on a form

|

TCustomCheckGroup

  

TCustomCheckGroup: The base type for TCheckGroup

|

TCustomGroupBox

  

TCustomGroupBox - the base class for TGroupBox, TRadioGroup and TCheckGroup

|

TWinControl

|

TControl

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

Description

TCheckGroup: A group of Check Boxes physically and logically grouped together on a form

To Use this control, place it in the required position on the form, then either right-click on the control to see the pop-up CheckGroup editor, or in the Object Inspector select Items and click on the ellipsis (...) to open the string editor. In either case, type in the captions to accompany each check box, then close the string or CheckGroup editor and you will see a series of boxes with their captions displayed beside them.

Inherits properties from TCustomCheckGroup and TCustomGroupBox

See also

HowToUseStdCtrls

  

How to use StdCtrls, ComCtrls or ExtCtrls

TRadioGroup

  

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

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