# Javascript: TXTextControl.StatusBarBorderStyle Enumeration

> Obsolete. This enumeration will be removed in one of the next versions. Since version 33.0 it's not possible to change the border style of the status bar anymore. The border style of a status bar.

> **Note:** This is deprecated and should not be used in new work.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.StatusBarBorderStyle Enumeration
- **466 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/statusbarborderstyle-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/statusbarborderstyle-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/statusbarborderstyle-enumeration/llms-full.txt

---

### Description

`Obsolete. This enumeration will be removed in one of the next versions.` Since version 33.0 it's not possible to change the border style of the status bar anymore. The border style of a status bar.

### Members

| Member | Description |
|---|---|
| Fixed3D | The status bar has a 3D design and a border with a single line. |
| Simple3D | The status bar has a 3D design and no border. |
| FixedSingle | The status bar has a flat design and a border with a single line. |
| Flat | The status bar has a flat design and no border. |
| ColorScheme | The status bar has a flat design without a border and with a horizontal color gradient in the background. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property. |
| VerticalColorScheme | The status bar has a flat design without a border and with a vertical color gradient in the background. The colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property. |

### Examples

The following example uses `TXTextControl.StatusBarBorderStyle.Fixed3D` (the status bar has a 3D design and a border with a single line.) in a document-editing workflow.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.statusBar.setBorderStyle(
    TXTextControl.StatusBarBorderStyle.Fixed3D,
    function() {
        console.log("set border style completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.statusBar Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/statusbar-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.StreamType Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/streamtype-enumeration/llms-full.txt)
