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.
TXButtonBar.PosControlChars [= position number]
The following two list describes which property belongs to which button bar element. The order of the first list is the same order the elements appear by default. The elements of the second list are hidden by default (position number 0):
Property | Element | |
PosStyle | Defines the position of the formatting styles combobox. | |
PosFontName | Defines the position of the font name combo-box. | |
PosFontSize | Defines the position of the font size combo-box. | |
PosFontBold | Defines the position of the bold button. | |
PosFontItalic | Defines the position of the italic button. | |
PosFontUnderline | Defines the position of the underline button. | |
PosParaLeft | Defines the position of the button for left aligning paragraphs. | |
PosParaRight | Defines the position of the button for right aligning paragraphs. | |
PosParaCentered | Defines the position of the button for centering paragraphs. | |
PosParaJustified | Defines the position of the button for justifying paragraphs. | |
PosListNumbered | Defines the position of the button for numbered lists. | |
PosListBulleted | Defines the position of the button for bulleted lists. | |
PosListStructured | Defines the position of the button for structured numbered lists. | |
PosTabSelect | Defines the position of the button for selecting the tab type. | |
PosControlChars | Defines the position of the control char button. |
Property | Element | |
PosDecreaseIndent | Defines the position of the button to decrease the left indent of all selected paragraphs. | |
PosGrowFont | Defines the position of the button to grow the size of all selected fonts. | |
PosIncreaseIndent | Defines the position of the button to increase the left indent of all selected paragraphs. | |
PosLeftToRight | Defines the position of the button to set the left to right writing direction. | |
PosRightToLeft | Defines the position of the button to set the right to left writing direction. | |
PosShrinkFont | Defines the position of the button to shrink the size of all selected fonts. | |
PosStrikethru | Defines the position of the button for setting the strike out attribute. | |
PosSubscript | Defines the position of the button to subscript text. | |
PosSuperscript | Defines the position of the button to superscript text. | |
PosTabLeft | Defines the position of the button for setting left aligned tabs. | |
PosTabRight | Defines the position of the button for setting right aligned tabs. | |
PosTabCentered | Defines the position of the button for setting centered tabs. | |
PosTabDecimal | Defines the position of the button for setting decimal tabs. | |
PosXMLAdd | Defines the position of a combobox showing all insertable XML elements. Can be used only with XML documents. | |
PosXMLRemove | Defines the position of a combobox showing all removeable XML elements. Can be used only with XML documents. | |
PosZoom | Defines the position of the zoom combobox. |
Integer.
<< TXButtonBar.MouseUp Event | >> TXButtonBar.PosDecreaseIndent Property