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

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 multiline captions are to be 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 scrollbars are to operate in the opposite sense to normal

  procedure SetTabHeight(); virtual;

  

SetTabHeight - specifies the height of tabs

  procedure SetTabIndex(); virtual; abstract;

  

SetTabIndex - specfies an index value for a tab

  procedure SetTabWidth(); virtual;

  

SetTabWidth - specifies the width of 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;

  

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;

  

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: TCustomTabControl; [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 emphasised

  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

|

TPersistent

|

TObject

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