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

TTabControlStrings

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

TTabControlStrings - the Strings that appear on the tabs of TTabControl.

Declaration

Source position: comctrls.pp line 676

type TTabControlStrings = class(TStrings)

protected

  function GetTabIndex; virtual; abstract;

  

GetTabIndex - returns the Index value of the current Tab.

  procedure SetHotTrack(); virtual;

  

SetHotTrack - specifies the status of HotTrack.

  procedure SetImages(); virtual;

  

SetImages - specifies the list of images to be used.

  procedure SetMultiLine(); virtual;

  

SetMultiLine - specifies whether multi-line captions are used.

  procedure SetMultiSelect(); virtual;

  

SetMultiSelect - specifies whether MultiSelection is available.

  procedure SetOwnerDraw(); virtual;

  

SetOwnerDraw - specifies whether an owner-derived drawing can be used.

  procedure SetRaggedRight(); virtual;

  

SetRaggedRight - specifies whether ragged-right (as opposed to right-justified) alignment is to be used.

  procedure SetScrollOpposite(); virtual;

  

SetScrollOpposite - specifies whether scroll bars are to operate in the opposite sense to normal.

  procedure SetTabIndex(); virtual; abstract;

  

SetTabIndex - specifies an index value for a tab.

public

  constructor Create(); virtual;

  

Create - constructor for TTabControlStrings: calls inherited Create then sets many local defaults.

  function GetHitTestInfoAt(); virtual;

  

GetHitTestInfoAt - returns the results of a hit test at the specified location X, Y.

  function GetSize; virtual; abstract;

  

Gets the size for the String displayed on a tab control.

  function IndexOfTabAt(); virtual;

  

IndexOfTabAt - returns the Index value of the tab at the specified location X, Y.

  function RowCount; virtual;

  

RowCount - number of rows (for a multi-row string).

  function TabRect(); virtual;

  

TabRec - returns the coordinates of the rectangle for the tab with specified index.

  procedure ImageListChange(); virtual;

  

ImageListChange - method for changing the image list.

  procedure ScrollTabs(); virtual;

  

ScrollTabs - scrolls the tabs by an amount specified by Delta.

  procedure TabControlBoundsChange; virtual;

  

TabControlBoundsChange - method for dealing with a change in the bounds of a Tab Control.

  procedure UpdateTabImages; virtual;

  

UpdateTabImages - bring the tab images up to date.

  procedure BeginUpdate; virtual;

  

BeginUpdate increments the Update count.

  procedure EndUpdate; virtual;

  

EndUpdate decrements the Update count.

  function IsUpdating; virtual;

  

IsUpdating - returns True if in the process of updating.

  property TabControl: TTabControl; [r]

  

The TabControl to which these strings apply.

  property TabIndex: Integer; [rw]

  

TabIndex - the index of the current Tab.

  property HotTrack: Boolean; [rw]

  

HotTrack - the property whereby the item under the mouse pointer becomes emphasized.

  property Images: TCustomImageList; [rw]

  

The list of Images associated with the Strings for these tabs.

  property MultiLine: Boolean; [rw]

  

MultiLine - if True, multiple lines may be used in Tab strings.

  property MultiSelect: Boolean; [rw]

  

MultiSelect - if True, multiple tabs can be selected, for example by holding down Shift or Ctrl keys while selecting.

  property OwnerDraw: Boolean; [rw]

  

OwnerDraw - if True, Owner object (or calling routine) can specify drawing methods.

  property RaggedRight: Boolean; [rw]

  

RaggedRight - if True, strings are un-justified or un-aligned with ragged right margin.

  property ScrollOpposite: Boolean; [rw]

  

ScrollOpposite - if True, scrolling proceeds in opposite direction to usual.

end;

Inheritance

TTabControlStrings

  

TTabControlStrings - the Strings that appear on the tabs of TTabControl.

|

TStrings

?

TObject