Write-only
About Display Formatting

ShowToolbar Method


Description

Shows and Hides the specified Toolbar.

 VB Syntax

app.ShowToolbar toolbar,state

Variable

(Type) - Description

app

An Application (object)

toolbar

(enum NAToolbarType) - The toolbar to show or hide. Choose from:

0 - naToolbar_None

1 - naToolbar_ActiveEntry

2 - naToolbar_Markers

3 - naToolbar_Measurement - OBSOLETE

4 - naToolbar_Stimulus - OBSOLETE

5 - naToolbar_SweepControl - OBSOLETE

6 - naToolbar_Transform

7 - naToolbar_PortExtensions

8 - naToolbar_Keys

state

(boolean) -

True (1) - Show the specified toolbar

False (0) - Hide the specified toolbar

Return Type

Not Applicable

Default

1 - naToolbar_ActiveEntry showing; all others hiding.

Examples

app.ShowToolbar 1,1 'shows the active entry toolbar

C++ Syntax

HRESULT ShowToolbar(tagNAToolbarType toolbar, VARIANT_BOOL bState)

Interface

IApplication