TX Text Control ActiveX

PosControlChars Property

Property

Returns or sets the position of the control char button. All of the Posxxx properties can be used to configure the order and the appearance of all buttons and comboboxes currently available. The position values are position numbers beginning with number 1. A position number of zero indicates that the button or combo box is currently hidden. To group buttons or combo boxes of similar features, a gap between two elements can be created by adding the constant value 1000 to the position number of a certain button. This creates a gap between the specified element and its preceding element. Adding the constant 2000, creates a gap with a vertical group mark. Vertical group marks are only displayed if the button bar's Style property has been set to txFlat.

Syntax

TXButtonBar.PosControlChars [= position number]

Data Types

Integer.

Remarks

The two tables below describe which property belongs to which button bar element.

Shown by default, in the order the elements appear by default:

PropertyElement
PosStyleDefines the position of the formatting styles combobox.
PosFontNameDefines the position of the font name combo-box.
PosFontSizeDefines the position of the font size combo-box.
PosFontBoldDefines the position of the bold button.
PosFontItalicDefines the position of the italic button.
PosFontUnderlineDefines the position of the underline button.
PosParaLeftDefines the position of the button for left aligning paragraphs.
PosParaRightDefines the position of the button for right aligning paragraphs.
PosParaCenteredDefines the position of the button for centering paragraphs.
PosParaJustifiedDefines the position of the button for justifying paragraphs.
PosListNumberedDefines the position of the button for numbered lists.
PosListBulletedDefines the position of the button for bulleted lists.
PosListStructuredDefines the position of the button for structured numbered lists.
PosTabSelectDefines the position of the button for selecting the tab type.
PosControlCharsDefines the position of the control char button.

Hidden by default (position number 0):

PropertyElement
PosDecreaseIndentDefines the position of the button to decrease the left indent of all selected paragraphs.
PosGrowFontDefines the position of the button to grow the size of all selected fonts.
PosIncreaseIndentDefines the position of the button to increase the left indent of all selected paragraphs.
PosLeftToRightDefines the position of the button to set the left to right writing direction.
PosRightToLeftDefines the position of the button to set the right to left writing direction.
PosShrinkFontDefines the position of the button to shrink the size of all selected fonts.
PosStrikethruDefines the position of the button for setting the strike out attribute.
PosSubscriptDefines the position of the button to subscript text.
PosSuperscriptDefines the position of the button to superscript text.
PosTabLeftDefines the position of the button for setting left aligned tabs.
PosTabRightDefines the position of the button for setting right aligned tabs.
PosTabCenteredDefines the position of the button for setting centered tabs.
PosTabDecimalDefines the position of the button for setting decimal tabs.
PosXMLAddDefines the position of a combobox showing all insertable XML elements. Can be used only with XML documents.
PosXMLRemoveDefines the position of a combobox showing all removable XML elements. Can be used only with XML documents.
PosZoomDefines the position of the zoom combobox.

See Also