BBjMDI::getStatusBar

Description

In BBj 14.0 and higher, this method returns a status bar control that was previously added to the BBjMDI window.

Syntax

Return Value

Method

BBjStatusBar

getStatusBar()

Parameters

None.

Return Value

Returns the BBjStatusBar object, if one exists.

Example

rem ' getStatusBar

open (unt)"X0"
mdi! = bbjapi().getMDI()
mdi!.createMDIWindow(50,50,400,400,"MDI")
mdi!.setCallback(mdi!.ON_CLOSE,"eoj")
statusbar! = mdi!.addStatusBar($4000$)
statusbar! = mdi!.getStatusBar()
statusbar!.setText("Centered Text")
process_events

eoj:
release

See Also

BBjAPI

BBjMDI

BBjStatusBar

Object Variables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.