[Overview][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 831

type TCheckGroup = class(TCustomCheckGroup) end;

published

  property Align: TAlign;

  

Specifies the placement of the control inside its Parent.

  property Anchors: TAnchors;

  

The set of anchor definitions for this control.

  property AutoFill: Boolean;

  

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

  property AutoSize: Boolean;

  

Allows to automatically adjust the size of the control, according to its content.

  property BiDiMode: TBiDiMode;

  property BorderSpacing: TControlBorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property Caption: TCaption;

  

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

  property ChildSizing: TControlChildSizing;

  

Parameters for child control arrangement and spacing.

  property ClientHeight: Integer;

  property ClientWidth: Integer;

  property Color: TColor;

  

The background color of the control.

  property ColumnLayout: TColumnLayout;

  

ColumnLayout - HorizontalThenVertical or vice versa

  property Columns: Integer;

  

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

  property Constraints: TSizeConstraints;

  

The minimal and maximal Width and Height of this control.

  property DragCursor: TCursor;

  property DragMode: TDragMode;

  property Enabled: Boolean;

  

Determines whether the control reacts on mouse or keyboard input.

  property Font: TFont;

  

The font to be used for text display in this control.

  property Items: TStrings;

  

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

  property OnChangeBounds: TNotifyEvent;

  

Event handler for a change of the Bounds of the control.

  property OnClick: TNotifyEvent;

  

Notification handler for mouse clicks.

  property OnDblClick: TNotifyEvent;

  

Event Handler for double mouse clicks.

  property OnDragDrop: TDragDropEvent;

  property OnDragOver: TDragOverEvent;

  property OnEndDrag: TEndDragEvent;

  property OnEnter: TNotifyEvent;

  

Handler for control receiving the focus.

  property OnExit: TNotifyEvent;

  

Handler for control loosing the focus. This is a good place for checking the finished user input.

  property OnItemClick: TCheckGroupClicked;

  

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

  property OnKeyDown: TKeyEvent;

  

Handler for keyboard key pressed.

  property OnKeyPress: TKeyPressEvent;

  

Handler for a character entered by the user.

  property OnKeyUp: TKeyEvent;

  

Handler for keyboard key released.

  property OnMouseDown: TMouseEvent;

  

Event handler for mouse button going down.

  property OnMouseEnter: TNotifyEvent;

  property OnMouseLeave: TNotifyEvent;

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler for mouse button going up.

  property OnMouseWheel: TMouseWheelEvent;

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property OnStartDrag: TStartDragEvent;

  property OnUTF8KeyPress: TUTF8KeyPressEvent;

  

Handler for a character entered by the user.

  property ParentBiDiMode: Boolean;

  property ParentFont: Boolean;

  

If true, the Font of the control will be the same as the one from the Parent. Default is true.

  property ParentColor: Boolean;

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

  property ParentShowHint: Boolean;

  

If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true.

  property PopupMenu: TPopupMenu;

  

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

  property ShowHint: Boolean;

  

Enables the Hint display.

  property TabOrder: TTabOrder;

  

Determines the sequence of controls, reachable when the user presses the Tab key.

  property TabStop: Boolean;

  property Visible: Boolean;

  

Allows to show or hide the control, and all of its children.

Inheritance

TCheckGroup

  

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

|

TCustomCheckGroup

  

TCustomCheckGroup: The base type for TCheckGroup

|

TCustomGroupBox

  

The base class for TGroupBox, TRadioGroup and TCheckGroup.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

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.