Share via


Application.ShowStatusBar Property

Visio Automation Reference

Determines whether a status bar is shown. Read/write.

Version Information
 Version Added:  Visio 4.5

Syntax

expression.ShowStatusBar

expression   A variable that represents an Application object.

Return Value
Integer

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.

Visual Basic for Applications
  
Public Sub ShowStatusBar_Example() 
    
        'Switch the status bar on or off. 
        Application.ShowStatusBar = Not Application.ShowStatusBar 
      
End Sub

See Also