ContentsIndexPreviousNext

Array and index modes

There are two modes of specifying the special properties of a status bar:

A. Array mode, where you specify each property once, in an array, for all the panels:

PANEL-WIDTHS  ( width-1, width-2, width-3, ... )
PANEL-STYLE   ( style-1, style-2, style-3, ... )
PANEL-TEXT    ( text-1, text-2, text-3, ... )

or

B. Index mode, where you define each panel separately, property by property, assigning an index number to each panel:

PANEL-INDEX   id-1
PANEL-WIDTHS  width-1
PANEL-STYLE   style-1
PANEL-TEXT    text-1
PANEL-INDEX   id-2
PANEL-WIDTHS  width-2
PANEL-STYLE   style-2
PANEL-TEXT    text-2

You should not mix array mode and index mode. The following sample may cause flickering updates.

DISPLAY STATUS-BAR
        PANEL-WIDTHS  ( 10,  10,  10 )
        PANEL-STYLE   ( 0,  1,  2 )
        PANEL-INDEX   1
        PANEL-TEXT    "Text one"
        PANEL-INDEX   2
        PANEL-TEXT    "Text two"
        PANEL-INDEX   3
        PANEL-TEXT    "Text three".