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

TTabSheet

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

An individual page used in TPageControl.

Declaration

Source position: comctrls.pp line 519

type TTabSheet = class(TCustomPage)

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

public

  constructor Create(); override;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  property PageControl: TPageControl; [rw]

  

The TPageControl instance where the tab sheet is displayed.

  property TabIndex: Integer; [r]

  

Ordinal position for the tab sheet in the visible tab sheets on the page control.

published

  property AutoSize: Boolean;

  

Allows automatic adjustment of the size for the control, according to its content.

  property BorderWidth: TBorderWidth;

  

Width of the Border around the control; default is zero.

  property BiDiMode: TBiDiMode;

  

Indicates whether text controls use in bi-directional reading.

  property Caption: TCaption;

  

The text displayed for the control.

  property ChildSizing: TControlChildSizing;

  

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

  property ClientHeight: Integer;

  

The height for the client area on the control.

  property ClientWidth: Integer;

  

The width of the client area for the control.

  property Enabled: Boolean;

  

Determines whether the control responds to mouse or keyboard input.

  property Font: TFont;

  

The font to be used for text display in this control.

  property Height: Integer; [s]

  

Height of the visible area for the tab sheet on the parent page control.

  property ImageIndex: TImageIndex;

  

Ordinal position for the image associated with the page.

  property Left: Integer; [s]

  

Left coordinate for the tab sheet in the visible area of the parent page control.

  property OnContextPopup: TContextPopupEvent;

  

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

  property OnDragDrop: TDragDropEvent;

  

Event handler signalled when an object is dropped onto the control.

  property OnDragOver: TDragOverEvent;

  

Event handler signalled when a control is dragged over the control instance.

  property OnEndDrag: TEndDragEvent;

  

Event handler signalled for the end of a drag-drop operation.

  property OnEnter: TNotifyEvent;

  

Event handler signalled when the control receives focus.

  property OnExit: TNotifyEvent;

  

Event handler signalled when the control loses focus.

  property OnHide: TNotifyEvent;

  

Event handler signalled when the page is hidden.

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

  

Event handler signalled when the page becomes visible.

  property OnStartDrag: TStartDragEvent;

  

Event handler signalled for the start of a dragging operation.

  property PageIndex: Integer; [s]

  

Ordinal position for the page in the parent control.

  property ParentBiDiMode: Boolean;

  

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

  property ParentFont: Boolean;

  

Indicates if the Font from the Parent control is used in the control.

  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 Hint display for the control.

  property TabVisible: Boolean;

  

Indicates if the tab is visible in the Parent control.

  property Top: Integer; [s]

  

Top coordinate for the tab sheet in the visible area of the parent page control.

  property Width: Integer; [s]

  

Width of the visible area for the tab sheet on the parent page control.

end;

Inheritance

TTabSheet

  

An individual page used in TPageControl.

|

TCustomPage

  

The base class for TTabSheet.

|

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

TTabSheet - individual page of a TPageControl. It is a more elaborate version of TPage, and adds the following features:

See also

Using Multi-Page Controls

  

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

How To Use Standard Controls

  

How to use StdCtrls, ComCtrls or ExtCtrls.


Version 3.2 Generated 2024-02-25 Home