[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TListColumn - an individual column in a multi-column List control
Source position: comctrls.pp line 867
type TListColumn = class(TCollectionItem) |
||
protected |
||
procedure SetIndex(); override; |
|
SetIndex - calls inherited method, and if this is a new index value, changes to the new column index |
function GetDisplayName; override; |
|
GetDisplayName returns the Caption; if this is blank, calls inherited method |
function GetStoredWidth; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TListColumn: calls inherited Create then sets defaults for size, alignment and index |
destructor Destroy; override; |
|
Destroy - destructor for TListColumn: if update allowed, updates columns then calls inherited Destroy |
procedure Assign(); override; |
|
Assign - if source is of correct type, copies alignment, caption, visibility and size properties, otherwise calls inherited Assign which probably raises an exception |
published |
||
property Alignment: TAlignment; [rw] |
|
Alignment - whether text is to be left or right justified or centered |
property AutoSize: Boolean; [rw] |
|
Whether AutoSize is to be operational |
property Caption: TTranslateString; [rw] |
|
A text string or Caption (which may be translated) to be used at the top of the column |
property ImageIndex: TImageIndex; [rw] |
|
ImageIndex - the index value of the image associated with he ListColumn |
|
MaxWidth - the maximum width for this column |
|
|
MinWidth - the minimum permissable with for the column |
|
|
Tag - a general purpose integer variable to be used in association with this column |
|
property Visible: Boolean; [rw] |
|
Visible - whether this column can be seen |
|
The Width of this column |
|
end; |
|
TListColumn - an individual column in a multi-column List control |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |