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

  

Indicates whether text controls use in bi-directional reading.

  property ChildSizing: TControlChildSizing;

  

Provides settings used to resize and align child controls using a tabular layout.

  property Color: TColor;

  

The background color for the control.

  property Left: Integer; [s]

  

The client coordinate with the left edge for the control.

  property Top: Integer; [s]

  

The client coordinate for the top edge of the control.

  property Width: Integer; [s]

  

The horizontal size for the control.

  property Height: Integer; [s]

  

The vertical size for the control.

  property OnContextPopup: TContextPopupEvent;

  

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

  property OnEnter: TNotifyEvent;

  

Event handler signalled when the control receives focus.

  property OnExit: TNotifyEvent;

  

Event handler signalled when the control loses focus.

  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 signalled when the mouse pointer is moved in 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 signalled for a downward movement of the mouse wheel.

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  

Event handler signalled for an upward movement of the mouse wheel.

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property ParentBiDiMode: Boolean;

  

Indicates whether the BiDiMode settings in the Parent control are used.

  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]

  

Indicates the navigation order for the control when the user presses the Tab or Shift+Tab key.

  property TabStop: Boolean;

  

Allows the user to navigate to / from the control by pressing the Tab or Shift+Tab keys.

  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

  

Implements a windowed control 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,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

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.


Version 3.2 Generated 2024-02-25 Home