TX Text Control .NET Server

Javascript: TXTextControl.setStatusBarColor Method

Method|Introduced in 24.0

Description

Sets the background color of the status bar.

Syntax

<void> TXTextControl.setStatusBarColor(<string> hexColor)

Parameters

ParameterDescription
hexColor

The color value. Must be a hexadecimal CSS color string. Valid values are "#AAA" or "#B634A2", for example.

Examples

The following example demonstrates TXTextControl.setStatusBarColor in a practical document-editing workflow. It sets the background color of the status bar.

TXTextControl.setStatusBarColor("#ffd54f");