TX Text Control ActiveX

BulletAttribute Property

Property

This property returns or sets attributes for bulleted lists. A new attribute set with this property has only effect when the ListType property is used the next time.

Syntax

TXTextControl.BulletAttribute(Attribute) [= value]

Parameters

ParameterDescription
AttributeDetermines the attribute that is to be changed or returned. Possible values are listed in Constants.

Constants

Valid values for the Attribute parameter are:

ConstantDescription
txBulletChar (0)Specifies the character code of the bullet character. This value must be the code of a character in the Unicode character set.
txBulletFormatChar (1)Specifies the code of the character that defines the formatting of the gap between the bullet character and the following text. Possible codes are:
txBulletLevel (2)Specifies the level of the bulleted list. The topmost level has the number one, the maximum possible level is 10.
txBulletPos (3)Defines the position of the bullet character in twips.
txBulletSize (4)Defines the font size of the bullet character in twips. If this attribute is -1, Text Control displays the bullet character with the font size of the following text.
txBulletTextPos (5)Defines, in twips, the position of the text that follows the bullet character.
txBulletFont (6)Defines the name of the font which is used to display the bullet character.

txBulletFormatChar (1)

CodeMeaning
0The text immediately follows the bullet character.
9The text is displayed at the next tabulator position.
32The text follows the bullet character separated with a space character.

Data Types

NameData type
txBulletCharInteger
txBulletFormatCharInteger
txBulletLevelInteger
txBulletPosInteger
txBulletSizeInteger
txBulletTextPosInteger
txBulletFontString

Limitations

Run time only.

See Also