[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomHeaderControl - base class for THeaderControl, a header strip of user-designed sections which allow selection of pages or actions
Source position: comctrls.pp line 3839
type TCustomHeaderControl = class(TCustomControl) end; |
||
protected |
||
function CreateSection; virtual; |
|
CreateSection - method for creating a header section |
function CreateSections; virtual; |
|
CreateSections - method for creating a collection of header sections |
procedure Loaded; override; |
||
procedure Notification(); override; |
||
procedure SectionClick(); virtual; |
|
SectionClick - method for emulating the OnSectionClick event |
procedure SectionResize(); virtual; |
|
SectionResize - method for emulating the OnSectionResize event |
procedure SectionTrack(); virtual; |
|
SectionTrack - method for emulating the OnSectionTrack event |
procedure SectionSeparatorDblClick(); virtual; |
|
SectionSeparatorDblClick - method for emulating the OnSectionSeparatorDblClick event |
procedure SectionEndDrag; virtual; |
|
SectionEndDrag - method for emulating the OnSectionEndDrag event |
function SectionDrag(); virtual; |
|
SectionDrag - method to emulate the OnSectionDrag event |
procedure MouseEnter; override; |
|
Invokes the OnMouseEnter handler. |
procedure MouseLeave; override; |
|
Invokes the OnMouseLeave handler. |
procedure MouseDown(); override; |
|
Handler for MouseDown events. |
procedure MouseMove(); override; |
|
Handler for MouseMove events. |
procedure MouseUp(); override; |
|
Invokes the OnMouseUp handler. |
procedure UpdateState; |
|
UpdateState - bring the state of the control up-to-date |
class function GetControlClassDefaultSize; override; |
|
GetControlClassDefaultSize - returns its own defaults, overriding inherited values |
procedure DoAutoAdjustLayout(); override; |
||
public |
||
property SectionFromOriginalIndex []: THeaderSection; [r] |
|
SectionFromOriginalIndex - the section as defined by the original (unchanged) index |
constructor Create(); override; |
|
Create - constructor for TCustomHeaderControl: calls inherited Create, creates the sections and initialises style and bounds |
destructor Destroy; override; |
|
Destroy - destructor for TCustomHeaderControl: frees sections then calls inherited Destroy |
procedure Click; override; |
|
Invokes the OnClick and ActionLink.Execute handlers. |
procedure DblClick; override; |
|
Invokes the OnDblClick handler. |
function GetSectionAt(); |
|
GetSectionAt - find the index for the section located at point P |
procedure Paint; override; |
|
Override this method in your derived class with your own paint handler. |
procedure PaintSection(); virtual; |
|
PaintSection - method for painting the current section (specified by Index) of the Header |
procedure ChangeScale(); override; |
||
published |
||
property DragReorder: Boolean; [rw] |
|
DragReorder - find out if the sections are allowed to be re-ordered by dragging |
property Images: TCustomImageList; [rw] |
|
Images - the list of Images available for selection using this tool |
property Sections: THeaderSections; [rw] |
|
Sections - the short segments of the header separated by vertical bars that function as the elementary selection units of the header |
property OnSectionDrag: TSectionDragEvent; [rw] |
|
OnSectionDrag - event handler for dragging the section of header |
property OnSectionEndDrag: TNotifyEvent; [rw] |
|
OnSectionEndDrag - event handler for ending the drag process for this section |
property OnSectionClick: TCustomSectionNotifyEvent; [rw] |
|
OnSectionClick - event handler for mouse click on this section of header |
property OnSectionResize: TCustomSectionNotifyEvent; [rw] |
|
OnSectionResize - event handler for re-sizing this section of the header |
property OnSectionTrack: TCustomSectionTrackEvent; [rw] |
|
OnSectionTrack - event handler for tracking this section |
property OnSectionSeparatorDblClick: TCustomSectionNotifyEvent; [rw] |
|
OnSectionSeparatorDblClick - event handler for double-click on the separator between sections |
property OnCreateSectionClass: TCustomHCCreateSectionClassEvent; [rw] |
|
OnCreateSectionClass - event handler for creating a new section class |
|
TCustomHeaderControl - base class for THeaderControl, a header strip of user-designed sections which allow selection of pages or actions |
|
| | ||
|
The base class for windowed controls which paint themselves. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
TCustomHeaderControl - base class for THeaderControl, a header strip of user-designed sections which allow selection of pages or actions
THeaderControl offers a widget that could be placed along the edge of a Panel or Form allowing a highly customised mechanism for selection. However there are no intrinsically associated display areas and it is the developer's responsibility to supply an index associated with the selection from the THeaderControl and determining what action is to occur or what is to be displayed in any attached Panel or Form.
|
Multi-PageControls - controls that offer a selection of alternative pages for display |
lazarus-ccr.sourceforge.net |