Skip to main content
Table of Contents

TTMSFNCRichEditorRulerTabCollection.AddTab Method

Adds a tab stop at the specified indent position and returns its index.

API unit family: TMSFNCRichEditorRuler Declaring type: TTMSFNCRichEditorRulerTabCollection

Overloads

Overload 1

Adds a tab stop at the specified indent position and returns its index.

FMX.TMSFNCRichEditorRuler.hppPascalC++
function AddTab(AIndent: Integer = 0): integer; overload;
int __fastcall AddTab(int AIndent = 0x0)/* overload */;

Parameters

Name Description
AIndent Position of the new tab stop in ruler units.

Returns

Zero-based index of the newly added tab stop.

Overload 2

Adds an existing TTMSFNCRichEditorRulerTabItem to the collection and returns its index.

FMX.TMSFNCRichEditorRuler.hppPascalC++
function AddTab(ATabItem: TTMSFNCRichEditorRulerTabItem): integer; overload;
int __fastcall AddTab(TTMSFNCRichEditorRulerTabItem* ATabItem)/* overload */;

Parameters

Name Description
ATabItem The tab item to add.

Returns

Zero-based index of the added tab stop.