JCL Help:TJclTabSet.TabFrom

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Determines the next column when tabbing from the specified column.


Pascal

 public function TabFrom(Column: SizeInt): SizeInt;


Parameters

Parameters Description
Column: SizeInt The starting column to use when determine the next column.


Return Value

An Integer representing the next tabulation position.


Exceptions

ArgumentOutOfRangeException The Column parameter is less than 0 (zero-based) or 1 (not zero-based).


Description

TabFrom will determine the next column if a tab character would occur at the specified column.


Examples

Note:This example assumes a tab set instance set up as in the example given in the TJclTabSet help.
a := tabs.TabFrom(0); // a will be 15
b := tabs.TabFrom(24); // b will be 30
c := tabs.TabFrom(34); // c will be 36
d := tabs.TabFrom(35); // d will be 36


See Also

TJclTabSet TJclTabSet.Expand@string


About

Donator

Marcel Bestebroer


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page