Function TWPTextStyle.TabstopGetNext(AfterVal:Integer; UntilVal:Integer; Value:Integer; Kind:TTabKind; DefaultTabstopValue:Integer) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle

Parameters

  • AfterVal:Integer
  • UntilVal:Integer
  • Value:Integer
  • Kind:TTabKind
  • DefaultTabstopValue:Integer

Returns

The type of the result value is Integer.

Description

Finds the number, Value in twips and the 'kind' of the next tabstop after a certain position in twips. Optionally the DefaultTabstop-Value can be specified which will be used if no other tab is found. The result will be in this case 10000.
This function ignores tabstops of the kind 'tkBarTab'.