TabPositionsCount Property (ATextBox)

Returns or sets the number of tab stop items in the TabStops property of the ATextBox object.

Syntax

Object.TabPositionsCount [ = lTabPostionsCount ]

The TabPositionsCount property syntax has the following parts:

 

Name

Type

Description

Object

ATextBox

ATextBox control

lTabPostionsCount

Long

A integer specifying the number of tab stop items in the TabStops array of the object.

Comments

The default value is zero, meaning do not use tab stops.

During design time the array size is determined by the user when entering TabPositions. At run time this size is determined using the TabPositionsCount, which can be set dynamically up to 256.

Example

The following statement sets the text box with three columns the second at 100 pixels from the left and the third at 140 pixels from the left:

tbTestsResults.TabPositionsCount=2

tbTestsResults.TabPositions(0)=100

tbTestsResults.TabPositions(1)=140

Applies to

ATextBox

See Also

MultiLine, TabPositions