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.
function AddTab(AIndent: Integer = 0): integer; 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
TTMSFNCRichEditorRulerTabItemto the collection and returns its index.
function AddTab(ATabItem: TTMSFNCRichEditorRulerTabItem): integer; overload;
Parameters
| Name | Description |
|---|---|
ATabItem |
The tab item to add. |
Returns
Zero-based index of the added tab stop.