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

type TTabSheet = class(TCustomPage) end;

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

public

  constructor Create(); override;

  

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 BorderWidth: TBorderWidth;

  property BiDiMode: TBiDiMode;

  property Caption: TCaption;

  

The text describing the control to the user.

  property ChildSizing: TControlChildSizing;

  

Parameters for child control arrangement and spacing.

  property ClientHeight: Integer;

  

The height of the client area of the control.

  property ClientWidth: Integer;

  

The width of the client area of the control.

  property Enabled: Boolean;

  

Determines whether the control reacts on mouse or keyboard input.

  property Font: TFont;

  property Height: Integer; [s]

  

The vertical size of the control.

  property ImageIndex: TImageIndex;

  

  property Left: Integer; [s]

  

The client coordinate of the left edge of the control.

  property OnContextPopup: TContextPopupEvent;

  

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

  property OnDragDrop: TDragDropEvent;

  

This handler determines the action on an drop onto this control, in a drag-drop operation.

  property OnDragOver: TDragOverEvent;

  

Event handler for a control being dragged over this control.

  property OnEndDrag: TEndDragEvent;

  

Notification handler for the end of a dragging operation.

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

  

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

  

  property OnStartDrag: TStartDragEvent;

  

Event handler for the start of a dragging operation.

  property PageIndex: Integer; [s]

  

  property ParentBiDiMode: Boolean;

  property ParentFont: Boolean;

  

If true, the Font of the control will be the same as the one from the Parent. 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 ShowHint: Boolean;

  

Enables the Hint display.

  property TabVisible: Boolean;

  

  property Top: Integer; [s]

  

The client coordinate of the top edge of the control.

  property Width: Integer; [s]

  

The horizontal extent of the control.

Inheritance

TTabSheet

  

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

|

TCustomPage

  

TCustomPage: The base type for Page

|

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

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.