ShowToolbarButton method (TrendPro object)

Hides or shows toolbar buttons on the TrendPro object. Buttons hidden from the toolbar are also hidden from the shortcut menu.
Syntax
TrendPro1
.
ShowToolbarButton
(
toolbarButtonID
,
state
)
where
TrendPro1
- is the name of a TrendPro object or an expression that evaluates to a TrendPro object.
toolbarButtonID
- is a parameter of the
ButtonID
constant for the button on the toolbar.
state
- is a parameter of the type Boolean that can be set to one of the following:
  • True
    : Shows the button on the toolbar at runtime.
  • False
    : Does not show the button on the toolbar at runtime.
Example
Private Sub ShowToolbarButton() 'Hides the Print button on the toolbar at runtime. TrendPro1.ShowToolbarButton PrintButton, False End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal