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

TTabSheet

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

TTabSheet - individual page of a TPageControl; a more elaborate version of TPage

Declaration

Source position: comctrls.pp line 221

type TTabSheet = class(TCustomPage)

  class procedure WSRegisterClass; override;

  

WSRegisterClass - Register this Class for the current Widget Set

public

  constructor Create(); override;

  

Create - constructor for TTabSheet: calls inherited Create and zeroes ImageIndex

  destructor Destroy; override;

  

Destroy - destructor for TTabSheet: detaches from the Host Dock Site and calls inherited Destroy

  property PageControl: TPageControl; [rw]

  

The PageControl of which this TabSheet is a member

  property TabIndex: Integer; [r]

  

TabIndex - the Index value or sequence number of this TabSheet

published

  property Caption;

  

Caption - the text-string appearing on the Control, usually used to identify its function

  property ChildSizing;

  

Definitions how any child control is to be sized (read/write).

  property ClientHeight;

  

ClientHeight - determines the height of the client within which the control exists

  property ClientWidth;

  

ClientWidth - determines the width of the client within which the control exists

  property Enabled;

  

Whether the control is Enabled (read/write). If not, it usually appears 'greyed-out'

  property Font;

  property Height; [s]

  

Height - the vertical dimension of the control

  property ImageIndex;

  

ImageIndex - integer index value for the image associated with this page

  property Left; [s]

  

Left - the coordinate of the left edge of the control

  property OnContextPopup;

  

Event handler to supply information when a context-sensitive pop-up menu is required

  property OnDragDrop;

  

Event handler for the drop of a control onto this control.

  property OnDragOver;

  

Event handler for the case when a control is dragged over another control

  property OnEndDrag;

  

Event handler for the end of a dragging process

  property OnEnter;

  

OnEnter - event handler for when the mouse enters the control, and the control receives focus

  property OnExit;

  

OnExit - event handler for when the mouse leaves the control and it loses focus

  property OnHide;

  

OnHide - event handler for hiding this page in a notebook

  property OnMouseDown;

  

Event handler for when a mouse button is pressed down

  property OnMouseEnter;

  property OnMouseLeave;

  property OnMouseMove;

  

Event handler for mouse movement within the current control

  property OnMouseUp;

  

Event handler for when the mouse button is released, ie "up"

  property OnResize;

  

Event Handler for resize of control

  property OnShow;

  

OnShow - event handler for showing (making visible) this page of a notebook

  property OnStartDrag;

  

Event handler for start of dragging operation

  property PageIndex; [s]

  

PageIndex - integer index value for this page in the notebook

  property ParentFont;

  

ParentFont - should the control use the same font as the parent? Default is true

  property ParentShowHint;

  

ParentShowHint - does the control adopt the same hinting behaviour as its parent? Default is true

  property PopupMenu;

  

PopupMenu - a context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ShowHint;

  

Flag to determine: Is hint to be displayed for this control?

  property TabVisible;

  

TabVisible - is the Tab for this page visible?

  property Top; [s]

  property Visible; [s]

  

Visible - can the control be seen?

  property Width; [s]

  

Width - the horizontal dimension of the control

end;

Inheritance

TTabSheet

  

TTabSheet - individual page of a TPageControl; a more elaborate version of TPage

|

TCustomPage

  

TCustomPage: The base type for Page

|

TWinControl

|

TControl

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

Description

TTabSheet - individual page of a TPageControl; a more elaborate version of TPage

Contains the following features lacked by TPage:

See also

Multi-PageControls

  

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

HowToUseStdCtrls

  

How to use StdCtrls, ComCtrls or ExtCtrls

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