DS Server

Javascript: TXTextControl.StatusBarBorderStyle Enumeration

EnumerationDeprecated|Introduced in 30.0

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

MemberDescription
Fixed3DThe status bar has a 3D design and a border with a single line.
Simple3DThe status bar has a 3D design and no border.
FixedSingleThe status bar has a flat design and a border with a single line.
FlatThe status bar has a flat design and no border.
ColorSchemeThe 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.
VerticalColorSchemeThe 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.

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
);