[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 1185
type TListColumn = class(TCollectionItem) end; |
||
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] |
|
Sets alignment of caption: text is left or right justified or centered. |
property AutoSize: Boolean; [rw] |
|
When other columns have fixed width, auto-calculate width of this column, to fill entire width. |
property Caption: TTranslateString; [rw] |
|
Caption text of column. |
property ImageIndex: TImageIndex; [rw] |
|
Index of icon, inside ImageList object for columns of Listview. |
|
Maximal width for this column. |
|
|
Minimal width for this column. |
|
property Tag: PtrInt; [rw] |
|
Int value, to store some info for this column. |
property Visible: Boolean; [rw] |
|
Allow to show this column. |
|
Current width of column. May be calculcated auto, if AutoSize used. |
|
|
TListColumn - an individual column in a multi-column List control |
|
| | ||
TCollectionItem |
||
? | ||
TObject |
lazarus-ccr.sourceforge.net |