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

type TTabControlStrings = class(TStrings)

protected

  function GetTabIndex; virtual; abstract;

  

GetTabIndex - returns the Index value of the current Tab

  procedure SetHotTrack(); virtual;

  

  procedure SetImages(); virtual;

  

  procedure SetMultiLine(); virtual;

  

  procedure SetMultiSelect(); virtual;

  

  procedure SetOwnerDraw(); virtual;

  

  procedure SetRaggedRight(); virtual;

  

  procedure SetScrollOpposite(); virtual;

  

  procedure SetTabHeight(); virtual;

  

  procedure SetTabIndex(); virtual; abstract;

  

  procedure SetTabWidth(); virtual;

  

public

  constructor Create(); virtual;

  

  function GetHitTestInfoAt(); virtual;

  

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

  function GetSize; virtual; abstract;

  

GetSize - returns the size of the tab string

  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;

  

  procedure ScrollTabs(); virtual;

  

  procedure TabControlBoundsChange; virtual;

  

  procedure UpdateTabImages; virtual;

  

  procedure BeginUpdate; virtual;

  

  procedure EndUpdate; virtual;

  

  function IsUpdating; virtual;

  

  property TabControl: TCustomTabControl; [r]

  

The TabControl to which these strings apply

  property TabIndex: Integer; [rw]

  

TabIndex - the index of the current Tab

  property HotTrack: Boolean; [rw]

  

  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

  property TabHeight: SmallInt; [rw]

  

TabHeight- height of the tab

  property TabWidth: SmallInt; [rw]

  

TabWidth - width of the tab

end;

Inheritance

TTabControlStrings

  

TTabControlStrings - the Strings that appear on the tabs of TTabControl

|

TStrings

|

TObject

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