# TXButtonBar Control

> Button bar control for a TX Text Control ActiveX editor with combo boxes and buttons: Appearance, DisplayColor, the Posxxx button positions and mouse events.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Text Control ActiveX > API Reference > TXButtonBar Control
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/#syntax)
- [Members](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/#members)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/#see-also)

---

## In This Section

- [Appearance Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/appearance-property/llms.txt): Returns or sets the paint style of a TXButtonBar: txFlat, tx3D (default), txXP for the Windows XP look or txColorScheme with a light to dark background.
- [BorderStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/borderstyle-property/llms.txt): Returns or sets the border style of a TXButtonBar as an Integer: 0 for no border or 1 for a fixed single border around the button bar window.
- [DisplayColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/displaycolor-property/llms.txt): Gets or sets the display colors of a TXButtonBar by ButtonBarColor index, bbForeColor to bbButtonFrameColor, used when Appearance and Style are txColorScheme.
- [Enabled Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/enabled-property/llms.txt): Returns or sets whether a TXButtonBar responds to user-generated events: True (default) lets the button bar respond, False prevents it from responding.
- [hWnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/hwnd-property/llms.txt): Returns the window handle of a TXButtonBar for Windows API calls that expect an hWnd argument; the property is read only and available at run time only.
- [Language Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/language-property/llms.txt): Sets the language of the TXButtonBar resources: 41, 43 and 49 select German variants, other values English; ResourceFile adds further languages.
- [MouseDown Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/mousedown-event/llms.txt): Occurs when the user presses a mouse button over a TXButtonBar, passing the button, the SHIFT, CTRL and ALT state and the X and Y position in the control.
- [MouseMove Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/mousemove-event/llms.txt): Occurs when the user moves the mouse over a TXButtonBar, passing the state of the mouse buttons, the SHIFT, CTRL and ALT keys and the X and Y position.
- [MouseUp Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/mouseup-event/llms.txt): Occurs when the user releases a mouse button over a TXButtonBar, passing the button, the SHIFT, CTRL and ALT state and the X and Y position in the control.
- [PosControlChars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poscontrolchars-property/llms.txt): Sets the position of the control char button on a TXButtonBar and explains all Posxxx properties: position numbers, 0 to hide, gaps with 1000 and 2000.
- [PosDecreaseIndent Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posdecreaseindent-property/llms.txt): Returns or sets the position number of the TXButtonBar button that decreases the left indent of all selected paragraphs, like DecreaseIndent; hidden by default.
- [PosFontBold Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posfontbold-property/llms.txt): Returns or sets the position number of the bold button on a TXButtonBar, which sets the order of the buttons; a position number of 0 hides the button.
- [PosFontItalic Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posfontitalic-property/llms.txt): Returns or sets the position number of the italic button on a TXButtonBar, which sets the order of the buttons; a position number of 0 hides the button.
- [PosFontName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posfontname-property/llms.txt): Returns or sets the position number of the font name combo box on a TXButtonBar, which sets the order of its elements; a position of 0 hides the box.
- [PosFontSize Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posfontsize-property/llms.txt): Returns or sets the position number of the font size combo box on a TXButtonBar, which sets the order of its elements; a position of 0 hides the box.
- [PosFontUnderline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posfontunderline-property/llms.txt): Returns or sets the position number of the underline button on a TXButtonBar, which sets the order of the buttons; a position number of 0 hides it.
- [PosGrowFont Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posgrowfont-property/llms.txt): Returns or sets the position number of the TXButtonBar button that grows the font sizes of all selected fonts, like GrowFont; hidden by default.
- [PosIncreaseIndent Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posincreaseindent-property/llms.txt): Returns or sets the position number of the TXButtonBar button that increases the left indent of all selected paragraphs, like IncreaseIndent; hidden by default.
- [PosLeftToRight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poslefttoright-property/llms.txt): Returns or sets the position number of the TXButtonBar button that sets the left to right writing direction (TextDirection); hidden by default with position 0.
- [PosListBulleted Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poslistbulleted-property/llms.txt): Returns or sets the position number of the bulleted list button on a TXButtonBar, which sets the order of the buttons; a position of 0 hides the button.
- [PosListNumbered Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poslistnumbered-property/llms.txt): Returns or sets the position number of the numbered list button on a TXButtonBar, which sets the order of the buttons; a position of 0 hides the button.
- [PosListStructured Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posliststructured-property/llms.txt): Returns or sets the position number of the button for structured numbered lists on a TXButtonBar; position numbers start at 1 and 0 hides the button.
- [PosParaCentered Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posparacentered-property/llms.txt): Returns or sets the position number of the button for centering paragraphs on a TXButtonBar; position numbers start at 1 and 0 hides the button.
- [PosParaJustified Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posparajustified-property/llms.txt): Returns or sets the position number of the button for justifying paragraphs on a TXButtonBar; position numbers start at 1 and 0 hides the button.
- [PosParaLeft Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posparaleft-property/llms.txt): Returns or sets the position number of the button for left aligning paragraphs on a TXButtonBar; position numbers start at 1 and 0 hides the button.
- [PosParaRight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/pospararight-property/llms.txt): Returns or sets the position number of the button for right aligning paragraphs on a TXButtonBar; position numbers start at 1 and 0 hides the button.
- [PosRightToLeft Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posrighttoleft-property/llms.txt): Returns or sets the position number of the TXButtonBar button that sets the right to left writing direction (TextDirection); hidden by default with position 0.
- [PosShrinkFont Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posshrinkfont-property/llms.txt): Returns or sets the position number of the TXButtonBar button that shrinks the font sizes of all selected fonts, like ShrinkFont; hidden by default.
- [PosStrikethru Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posstrikethru-property/llms.txt): Returns or sets the position number of the TXButtonBar button that sets the strikethrough attribute (FontStrikethru); hidden by default with position number 0.
- [PosStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posstyle-property/llms.txt): Returns or sets the position number of the formatting styles combo box on a TXButtonBar, the first element by default; a position of 0 hides the box.
- [PosSubscript Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possubscript-property/llms.txt): Returns or sets the position number of the TXButtonBar button that formats text as subscript; hidden by default with position 0, shown from position 1.
- [PosSuperscript Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possuperscript-property/llms.txt): Returns or sets the position number of the TXButtonBar button that formats text as superscript; hidden by default with position 0, shown from position 1.
- [PosTabCentered Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/postabcentered-property/llms.txt): Returns or sets the position number of the button for setting centered tabs on a TXButtonBar; hidden by default with position number 0 like other tabs.
- [PosTabDecimal Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/postabdecimal-property/llms.txt): Returns or sets the position number of the button for setting decimal tabs on a TXButtonBar; hidden by default with position number 0 like other tabs.
- [PosTabLeft Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/postableft-property/llms.txt): Returns or sets the position number of the button for setting left aligned tabs on a TXButtonBar; hidden by default with position number 0 like other tabs.
- [PosTabRight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/postabright-property/llms.txt): Returns or sets the position number of the button for setting right aligned tabs on a TXButtonBar; hidden by default with position number 0 like other tabs.
- [PosTabSelect Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/postabselect-property/llms.txt): Returns or sets the position number of the TXButtonBar button for selecting the tab type, shown by default; position numbers start at 1 and 0 hides the button.
- [PosXMLAdd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posxmladd-property/llms.txt): Returns or sets the position number of the TXButtonBar combo box listing all insertable XML elements; it works only with XML documents and is hidden by default.
- [PosXMLRemove Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posxmlremove-property/llms.txt): Returns or sets the position number of the TXButtonBar combo box listing all removable XML elements; it works only with XML documents and is hidden by default.
- [PosZoom Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poszoom-property/llms.txt): Returns or sets the position number of the zoom combo box on a TXButtonBar; hidden by default with position number 0, shown with a position of 1 or higher.
- [ReadOnly Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/readonly-property/llms.txt): Returns or sets the read only mode of a TXButtonBar: when True it shows the formatting of the connected TextControl but can't change it; False by default.
- [ResourceFile Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/resourcefile-property/llms.txt): Returns or sets the full path of a resource library the TXButtonBar loads for its buttons and texts; when set, Language is ignored. Run time only.
- [RightToLeft Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/righttoleft-property/llms.txt): Returns or sets whether a TXButtonBar shows its buttons from right to left; set at run time, the window is recreated and must be reassigned to ButtonBarHandle.
- [Style Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/style-property/llms.txt): Returns or sets the paint style of TXButtonBar buttons: txFlat, tx3D (default), txXP for the Windows XP look or txColorScheme with a light to dark background.

---

## Nearby

- **Previous:** [ZoomFactor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/zoomfactor-property/llms.txt)
- **Next:** [Appearance Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/appearance-property/llms.txt)
