Status Bar Controls


Status bars display messages for the user along the bottom of the window.

In Visual PRO/5 Rev. 2.x and later, the status bar control can be divided into up to 255 segments, and each can contain left-justified, right-justified, or centered text. Text justification within a segment is achieved by using the tab character $09$. Text to the right of a single tab character is centered, and text to the right of a second tab character is right-aligned.

By default, the status bar contains a single segment that is left-justified and behaves like the original status bar control of Visual PRO/5 1.0. This initial segment or part is identified as part 0.

Creating

Mnemonic

Description

'STATBAR'

Create a Status Bar Control.

Querying

CTRL() Function

Information Returned

0

Outer rectangle of the control in current scaled units.

1

Status bar text.

4

Control class and type.

7

Status bar text. Results are identical to those of function 1.

8

Visible/invisible and enabled/disabled status of the control.

15

Background color of the control.

16

Foreground color of the control.