Skip to content

Creating a Statusbar

To create a statusbar, use the Class Palette to drag and drop a cCJStatusbar class onto the Visual Designer canvas.

The statusbar will be created in whatever container object you drop it. This means that if you drop a statusbar on a tab page of a tab dialog, it is created in that tab page. If the target container object does not already contain a command bar system object (cCJCommandBarSystem), then one will be created as a host for the new statusbar.

Adding Status Panes

To add a new pane to a statusbar, drag and drop a cCJStatusbarPane from the Class Palette onto an existing statusbar in the Visual Designer. The new pane is appended to the current list of panes in the statusbar.

Moving Status Panes

The left-to-right orientation of status panes in a statusbar is determined by the object declaration order of the status pane objects. To change the position of a status pane with respect to other panes, use the Code Explorer to change the object order of status pane objects.

For more information, see Object Manipulation.

See Also