[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 42

type TPage = class(TCustomControl) end;

protected

  procedure SetParent(); override;

public

  constructor Create(); override;

  destructor Destroy; override;

  property PageIndex: Integer; [r]

  

PageIndex - integer index value for this page in the notebook

published

  property OnBeforeShow: TBeforeShowPageEvent; [rw]

  property BiDiMode: TBiDiMode;

  property ChildSizing: TControlChildSizing;

  

Parameters for child control arrangement and spacing.

  property Color: TColor;

  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;

  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 ParentBiDiMode: Boolean;

  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 controls, reachable when the user presses the Tab key.

  property TabStop: Boolean;

  property Visible: Boolean; [s]

  

Allows to show or hide the control, and all of its children.

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 associated with widgets.

|

TComponent

?

TObject

Description

TPage: One of the pages in a tabbed Notebook

Inherits most of its properties from TCustomPage

See also

HowToUseStdCtrls

  

How to use StdCtrls, ComCtrls or ExtCtrls

Multi-PageControls

  

Multi-PageControls - controls that offer a selection of alternative pages for display

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