Share via


ShowStatusBar Property [Visio 2003 SDK Documentation]

Determines whether a status bar is shown.

intRet = object**.ShowStatusBar**

object**.ShowStatusBar** = intExpression

intRet     Integer. True (-1) if the status bar is showing; otherwise, False (0).

object     Required. An expression that returns an Application object.

intExpression     Required Integer. True (-1) to show a status bar; False (0) to hide a status bar.

Version added

4.5

Remarks

The ShowStatusBar property persists each time you run the application. The ShowToolbar property is valid for a Microsoft Office Visio instance only.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to hide and show the status bar.

Public Sub ShowStatusBar_Example() 
    
        'Toggle the status bar on or off. 
        Application.ShowStatusBar = Not Application.ShowStatusBar 
      
End Sub

Applies to | Application object | InvisibleApp object

See Also | ShowToolbar property