Function TWPCustomRichText.SetTabPos(PosInTwips:Integer; kind:TTabKind; delete_it:Boolean; FillMode:TTabFill; FillColor:Integer) : Boolean
Unit: WPCTRRich
Class: WPCTRRich.TWPCustomRichText
Parameters
Returns
The type of the result value is Boolean.
Description
This function (- which is known since WPTools version 2 - creates and deletes tabstops. It is provided for compatibility only. We recommend to useThe first parameter is the position in twips, the second is the kind of the tabstop. Possible values are:
tkLeft - standard LEFT (default)
tkRight - Flush-right tab.
tkCenter - Centered tab.
tkDecimal - Decimal tab.
tkBarTab - Draw bar (Unlike in Word, Fillmodes are supported, too!)
The parameter delete_it must be false, otherwise the tabstop with the given value is deleted.
Version 5 adds 2 optional parameter to specify the fillmode and the fill color. The kind 'tkAll' is not supported anymore. To delete all tabstops use TabstopClear;