[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 4052
type THeaderControl = class(TCustomHeaderControl) |
||
published |
||
|
Specifies the placement of the control on its Parent control. |
|
|
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; |
|
Determines the inner and outer border spacing for this control. |
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; |
|
Contains bitmaps displayed on the header sections for the control. |
property ImagesWidth: Integer; |
|
Specifies the width for Images displayed in the header control. |
property Constraints: TSizeConstraints; |
|
Contains the minimum and maximum Width and Height for the 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 Hint display for the control. |
property ParentBiDiMode: Boolean; |
|
Indicates whether the BiDiMode settings in the Parent control are used. |
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 the control, and all of its children, to be displayed or hidden. |
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 drag operation. |
property OnMouseDown: TMouseEvent; |
|
Event handler signalled when a mouse down event is handled for the control. |
property OnMouseEnter: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has entered the control. |
property OnMouseLeave: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has left the control. |
property OnMouseMove: TMouseMoveEvent; |
|
Event handler for mouse movement within the control. |
property OnMouseUp: TMouseEvent; |
|
Event handler signalled when a mouse up event is handled for the control. |
property OnMouseWheel: TMouseWheelEvent; |
|
Event handler for mouse wheel turned. |
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
|
Event handler for downward movement of mouse wheel. |
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
|
Event handler for upward movement of the mouse wheel. |
property OnMouseWheelHorz: TMouseWheelEvent; |
|
Event handler for horizontal movements of the mouse wheel. |
property OnMouseWheelLeft: TMouseWheelUpDownEvent; |
|
Event handler for left movements of the mouse wheel. |
property OnMouseWheelRight: TMouseWheelUpDownEvent; |
|
Event handler for right movements of the mouse wheel. |
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. |
end; |
|
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. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
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 customized 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.
|
MultiPageControls - controls that offer a selection of alternative pages for display. |