[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
THeaderControl, a header strip of user-designed sections which allow selection of pages or actions
Source position: comctrls.pp line 3922
type THeaderControl = class(TCustomHeaderControl) end; |
||
published |
||
|
Specifies the placement of the control inside its Parent. |
|
|
The set of anchor definitions for this control. |
|
property BiDiMode: TBiDiMode; |
|
Customization (of text controls) in bidirectional reading environments. |
property BorderWidth: TBorderWidth; |
|
Width of the Border around the control; default is zero. |
property BorderSpacing: TControlBorderSpacing; |
||
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
The operation when the control is dragged - Drag or Dock. |
|
|
Allows the user to drag the control. |
|
property Enabled: Boolean; |
|
Determines whether the control reacts on mouse or keyboard input. |
|
The font to be used for text display in this control. |
|
property Images: TCustomImageList; |
|
Images - the list of Images available for selection using this tool |
property Constraints: TSizeConstraints; |
|
The minimal and maximal Width and Height of this control. |
property Sections: THeaderSections; |
|
Sections - the short segments of the header separated by vertical bars that function as the elementary selection units of the header |
property ShowHint: Boolean; |
|
Enables the Hint display. |
property ParentBiDiMode: Boolean; |
|
Allows to use the BiDiMode settings of Parent. Default is true. |
property ParentFont: Boolean; |
|
If true, the Font of the control will be the same as the one from the Parent. Default is true. |
property ParentShowHint: Boolean; |
|
If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true. |
property PopupMenu: TPopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control |
property Visible: Boolean; |
|
Allows to show or hide the control, and all of its children. |
property OnContextPopup: TContextPopupEvent; |
|
Invoked when a context-sensitive pop-up menu is requested. |
property OnCreateSectionClass: TCustomHCCreateSectionClassEvent; |
|
OnCreateSectionClass - event handler for creating a new section class |
property OnDragDrop: TDragDropEvent; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver: TDragOverEvent; |
|
Event handler for a control being dragged over this control. |
property OnEndDock: TEndDragEvent; |
|
Notification handler for the end of a docking operation. |
property OnEndDrag: TEndDragEvent; |
|
Notification handler for the end of a dragging operation. |
property OnMouseDown: TMouseEvent; |
|
Event handler for mouse button going down. |
property OnMouseEnter: TNotifyEvent; |
|
Event handler for mouse entering the area of the control. |
property OnMouseLeave: TNotifyEvent; |
|
Event handler for mouse leaving the area of the control. |
property OnMouseMove: TMouseMoveEvent; |
|
Event handler for mouse movement within the control. |
property OnMouseUp: TMouseEvent; |
|
Event handler for mouse button going up. |
property OnMouseWheel: TMouseWheelEvent; |
||
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
||
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
||
property OnResize: TNotifyEvent; |
|
Notification handler for a resize of the control. |
property OnSectionClick: TCustomSectionNotifyEvent; |
|
OnSectionClick - event handler for mouse click on this section of header |
property OnSectionResize: TCustomSectionNotifyEvent; |
|
OnSectionResize - event handler for re-sizing this section of the header |
property OnSectionTrack: TCustomSectionTrackEvent; |
|
OnSectionTrack - event handler for tracking this section |
|
THeaderControl, a header strip of user-designed sections which allow selection of pages or actions |
|
| | ||
|
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 |
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 determine what action is to occur or what is to be displayed in any attached Panel or Form.
THeaderControl is used by selecting its icon from the Common Controls tab of the IDE Component Palette and placing it on the Form in the desired position. It may be convenient to dock it with a Form or Panel whose properties it is to be used for controlling.
After size, position, docking, alignment, anchoring etc have been performed using the Object Inspector or Form Designer, the Sections of the Header can be created by selecting the control, right-clicking with the mouse and choosing 'Section Editor'. A Stringlist editor will pop up with options to add, delete or move entries up or down the list. Each entry is given an Index which can be used in OnClick event handlers to determine the action to be taken when that section is selected at run-time.
|
Multi-PageControls - controls that offer a selection of alternative pages for display |
lazarus-ccr.sourceforge.net |