[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomCheckGroup: The base type for TCheckGroup
Source position: extctrls.pp line 978
type TCustomCheckGroup = class(TCustomGroupBox) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure SetItems(); |
|
SetItems - specify the strings that form the Items of the group |
procedure SetColumns(); |
|
SetColumns - specifies the nuber of coulmns in which the Items are arranged |
procedure DefineProperties(); override; |
|
DefineProperties - overrides the method inherited from TComponent, defines the top, left properties |
procedure ReadData(); |
|
Reads data from a stream |
procedure WriteData(); |
|
Writes Data to a stream |
procedure Loaded; override; |
|
|
procedure DoOnResize; override; |
|
Calls OnResize |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomCheckGroup: calls inherited Create, then sets styles, creates lists, initialises sizing and layout properties |
destructor Destroy; override; |
|
Destroy - destructor for TCustomCheckGroup: frees items and buttons, then calls inherited Destroy |
function Rows; |
|
Rows - the number of rows in which the Items (check boxes) are arranged |
property AutoFill: Boolean; [rw] |
|
AutoFill - whether Check Boxes should be automatically filled in (checked) |
|
Items - a string list for the captions of the check boxes |
|
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 |
|
Columns - the number of columns in which the Items (check boxes) are to be arranges |
|
property ColumnLayout: TColumnLayout; [rw] |
|
ColumnLayout - HorizontalThenVertical or vice versa |
property OnItemClick: TCheckGroupClicked; [rw] |
|
OnItemClick - event handler for mouse click on one of the Items in the Check Group |
end; |
|
TCustomCheckGroup: The base type for TCheckGroup |
|
| | ||
|
TCustomGroupBox - the base class for TGroupBox, TRadioGroup and TCheckGroup |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
TCustomCheckGroup: 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.
|
TCustomGroupBox - the base class for TGroupBox, TRadioGroup and TCheckGroup |
lazarus-ccr.sourceforge.net |