[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TPageControl - provides a series of tabs along the edge of a multi-page component to allow selection of one of the pages (TTabSheet) of the component.
Source position: comctrls.pp line 568
type TPageControl = class(TCustomTabControl) end; |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
function GetPageClass; override; |
||
procedure DoAddDockClient(); override; |
|
DoAddDockClient creates a new TabSheet in the PageControl, places the client on it and aligns it |
procedure DockOver(); override; |
||
procedure DoRemoveDockClient(); override; |
|
DoRemoveDockClient - frees the page which is being undocked |
function DoUndockClientMsg(); override; |
|
Notifies the DockManager of the undock of a client control. |
function ChildClassAllowed(); override; |
||
public |
||
function FindNextPage(); |
|
FindNextPage - returns the next page (TTabSheet) in the sequence |
procedure SelectNextPage(); |
|
SelectNextPage - checking that its tab is visible |
function IndexOfTabAt(); |
||
function IndexOfPageAt(); |
||
function AddTabSheet; |
||
property ActivePageIndex: Integer; [rw] |
|
ActivePageIndex - index value of currently selected (active) page |
|
Pages - the actual Pages (TTabSheet) that comprise the component |
|
published |
||
property ActivePage: TTabSheet; [rw] |
|
ActivePage - the currently selected active page (TTabSheet) |
property OnGetDockCaption: TGetDockCaptionEvent; |
|
This handler can provide a special DockCaption, different from the Caption default. |
|
Specifies the placement of the control inside its Parent. |
|
|
The set of anchor definitions for this control. |
|
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property BiDiMode: TBiDiMode; |
||
property Constraints: TSizeConstraints; |
|
The minimal and maximal Width and Height of this control. |
property DockSite: Boolean; |
|
Allows to drag-dock other controls into 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; |
|
|
property MultiLine: Boolean; |
||
property ParentBiDiMode: Boolean; |
||
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 ShowHint: Boolean; |
|
Enables the Hint display. |
property ShowTabs: Boolean; |
||
property TabHeight: SmallInt; |
||
property TabIndex: Integer; |
|
TabIndex - the Index value of the currently selected Tab |
|
Determines the sequence of controls, reachable when the user presses the Tab key. |
|
property TabPosition: TTabPosition; |
|
|
property TabStop: Boolean; |
|
Allows the user to navigate to this control, by pressing the Tab key. |
property TabWidth: SmallInt; |
||
property Visible: Boolean; |
|
Allows to show or hide the control, and all of its children. |
property OnChange: TNotifyEvent; |
|
OnChange - Occurs immediately after a tab is selected. |
property OnChanging: TTabChangingEvent; |
|
OnChanging - Occurs immediately before a tab is selected. |
property OnCloseTabClicked: TNotifyEvent; |
||
property OnContextPopup: TContextPopupEvent; |
|
Invoked when a context-sensitive pop-up menu is requested. |
property OnDockDrop: TDockDropEvent; |
|
Notification handler for the drop of a control to be docked. |
property OnDockOver: TDockOverEvent; |
|
Event handler for moves of a control over this docksite. Determines acceptance or rejection of an possible drop. |
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 OnEnter: TNotifyEvent; |
|
Handler for control receiving the focus. |
property OnExit: TNotifyEvent; |
|
Handler for control loosing the focus. This is a good place for checking the finished user input. |
property OnGetImageIndex: TTabGetImageEvent; |
|
|
property OnGetSiteInfo: TGetSiteInfoEvent; |
|
Provides information about the DockSite. |
property OnMouseDown: TMouseEvent; |
|
Event handler for mouse button going down. |
property OnMouseEnter: TNotifyEvent; |
||
property OnMouseLeave: TNotifyEvent; |
||
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 OnStartDock: TStartDockEvent; |
|
Event handler for the start of a docking operation. |
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property OnUnDock: TUnDockEvent; |
|
Event handler for control being undocked from this DockSite. |
property Options: TCTabControlOptions; |
||
|
TPageControl - provides a series of tabs along the edge of a multi-page component to allow selection of one of the pages (TTabSheet) of the component. |
|
| | ||
|
TCustomTabControl - base class for TTabControl, a series of Tabs along the edge of a display area; selection of a Tab governs the contents of the DisplayRect |
|
| | ||
|
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 |
TPageControl - provides a series of tabs along the edge of a multi-page component to allow selection of one of the pages (TTabSheet) of the component.
To use TPageControl, select its icon from the Common Controls tab of the IDE Component Palette and place it at the desired location on the Form.
Use the Form Designer and Object Inspector to adjust its shape, size, alignment, anchoring, docking and other properties, then select the object and right click with the mouse to bring up a pop-up menu whose first item is 'AddPage'. After you have added as many pages as you need, the individual pages can be edited by selecting ActivePage in the Object Inspector choosing the page required and editing its properties.
While a given page is selected, it is also possible to drop other controls (such as buttons, memo boxes etc) on to the page from the Component Palette.
Inherits most of its properties from TCustomTabControl
|
Multi-PageControls - controls that offer a selection of alternative pages for display |
lazarus-ccr.sourceforge.net |