[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TPage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TPage: One of the pages in a tabbed Notebook.

Declaration

Source position: extctrls.pp line 46

type TPage = class(TCustomControl)

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  procedure SetParent(); override;

  

Sets the value for the Parent property.

public

  constructor Create(); override;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  property PageIndex: Integer; [r]

  

Ordinal position for the page in its Notebook.

published

  property OnBeforeShow: TBeforeShowPageEvent; [rw]

  

Event handler signalled before the page is displayed.

  property BiDiMode: TBiDiMode;

  

Customization (of text controls) in bidirectional reading environments.

  property ChildSizing: TControlChildSizing;

  

Parameters for child control arrangement and spacing.

  property Color: TColor;

  

The background color of the control.

  property Left: Integer; [s]

  

The client coordinate of the left edge of the control.

  property Top: Integer; [s]

  

The client coordinate of the top edge of the control.

  property Width: Integer; [s]

  

The horizontal extent of the control.

  property Height: Integer; [s]

  

The vertical size of the control.

  property OnContextPopup: TContextPopupEvent;

  

Invoked when a context-sensitive pop-up menu is requested.

  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 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;

  

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 OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property ParentBiDiMode: Boolean;

  

Allows to use the BiDiMode settings in the Parent control. 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 TabOrder: TTabOrder; [s]

  

Determines the sequence of control navigation when the user presses the Tab key.

  property TabStop: Boolean;

  

Allows the user to navigate to this control, by pressing the Tab key.

  property Visible: Boolean; [s]

  

Allows the control, and all of its children, to be displayed or hidden.

end;

Inheritance

TPage

  

TPage: One of the pages in a tabbed Notebook.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent

?

TObject

Description

TPage is a TCustomControl descendant that implements a page displayed in a tabbed Notebook.

See also

Multi-Page Controls

  

MultiPageControls - controls that offer a selection of alternative pages for display.

How to use StdCtrls, ComCtrls or ExtCtrls.

  

How to use StdCtrls, ComCtrls or ExtCtrls.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.