[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
THeaderSection - the individual sections of a THeaderControl, each of which can be used to control its own option, selection etc
Source position: comctrls.pp line 2840
type THeaderSection = class(TCollectionItem) |
||
protected |
||
function GetDisplayName; override; |
||
public |
||
constructor Create(); override; |
|
- constructor for THeaderSection: calls inherited Create then initialises state, visibility, alignment, size and Index |
procedure Assign(); override; |
|
Assign - if Source is of correct type, copies properties directly, otherwise calls inherited Assign which probably raises an exception |
|
The position of the left boundary of the section |
|
|
The position of the right boundary of the section |
|
property State: THeaderSectionState; [rw] |
|
State - whether normal, hot (ie mouse hovers over it, ready to be selected) or pressed (selected) |
published |
||
property Alignment: TAlignment; [rw] |
|
Alignment - whether text is to be left or right justified or centered |
property ImageIndex: TImageIndex; [rw] |
|
Index of the image in the imagelist |
|
Maximum permissable width of a section |
|
|
Minimum permissable width of a section (default = 0) |
|
|
The text string that is to appear in the section |
|
|
The Width of the section that appears on the THeaderControl |
|
property Visible: Boolean; [rw] |
|
Visible if True |
property OriginalIndex: Integer; [r] |
|
OriginalIndex - index which doesn't change when the user reorders the sections |
end; |
|
THeaderSection - the individual sections of a THeaderControl, each of which can be used to control its own option, selection etc |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |