<< Click to display table of contents >> TCustomRichView.AddTab |
Adds tabulator to the end of document.
procedure AddTab(TextStyleNo, ParaNo: Integer);
(introduced in v1.9)
Parameters:
TextStyleNo – text style of tabulator. It is an index in the TextStyles collection of the linked RVStyle component, or rvsDefStyle constant. It defines font attributes.
If ParaNo=-1, the method adds an item to the end of the last paragraph. If ParaNo>=0, this item starts a new paragraph using attributes defined in Style.ParaStyles[ParaNo].
This method always adds a tabulator, regardless of RVStyle.SpacesInTab mode. If RVStyle.SpacesInTab=0, this method does the same work as AddTextNL(#9, TextStyleNo, ParaNo, ParaNo).
Methods type: viewer-style.
See also methods:
▪Format;
See also methods of TRichViewEdit:
See also properties of TRVStyle:
See also: