[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TGridColumnTitle - the title for a column in a grid
Source position: grids.pas line 360
type TGridColumnTitle = class(TPersistent) |
||
protected |
||
function GetDefaultCaption; virtual; |
|
GetDefaultCaption - returns th e default caption for this column |
function GetDefaultAlignment; |
|
GetDefaultAlignment - returns the default alignment |
function GetDefaultColor; |
|
GetDefaultColor - returns the default colour |
function GetDefaultLayout; |
|
GetDefaultLayout - returns the default layout |
function GetOwner; override; |
||
procedure SetCaption(); virtual; |
|
SetCaption - specifies the caption to use (rather than using default) |
public |
||
constructor Create(); virtual; |
|
Create - constructor for TGridColumnTitle: calls inherited Create then links the column, creates and configures the default font |
destructor Destroy; override; |
|
Destroy - destructor for TGridColumnTitle: frees forn, disconnects alignments, disposes of captions and colours then calls inherited Destroy |
procedure Assign(); override; |
|
|
procedure FillTitleDefaultFont; |
|
FillTitleDefaultFont - use the default font for the whole of the title |
function IsDefault; |
|
IsDefault - returns True if this is the default title |
property Column: TGridColumn; [r] |
|
The Column to which the title applies |
published |
||
property Alignment: TAlignment; [rws] |
|
The Alignment (whether justified or centred) for this title |
|
The Caption for this title |
|
|
The Color to use for this title |
|
|
The Font for this title |
|
property ImageIndex: Integer; [rw] |
|
ImageIndex - the index for any image to be used in the title (default=0, ie no image) |
property ImageLayout: TButtonLayout; [rw] |
|
ImageLayout - the layout to use for any image in the title |
property Layout: TTextLayout; [rws] |
|
The Layout for the text of the title |
end; |
|
TGridColumnTitle - the title for a column in a grid |
|
| | ||
| | ||
TGridColumnTitle - the title for a column in a grid
The actual title is held in Caption
Column refers to the Grid Column to which the Title is attached
lazarus-ccr.sourceforge.net |