RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParaAttributes.Tab Property

Specifies the position, in points, of a particular tab stop.

Pascal
property Tab [Index: Byte]: Longint;
C++
__property Longint Tab[Byte Index];

Tab is an indexed property into an array of absolute tab stop positions. The position of the first tab stop is Tab[0], the next tab stop is Tab[1], and so on to Tab[TabCount - 1]. 

When setting Tab, values of Index below TabCount change the positions of existing tab stops. Values of Index greater than or equal to TabCount increase the number of tab stops in the paragraph and change the value of TabCount.

Note: Setting Tab does not insert a tab into the text of the paragraph. It sets the positions within the paragraph where tabs will occur if they are inserted. The actual tab characters are inserted into the paragraph by using the Tab key.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!