Skip to content

XTPWorkspaceButtons Enumeration

Description

Specifies which tab navigation buttons to display in the TabWorkspace.

Members

Member Description
xtpWorkspaceHideArrows Use this flag to hide the arrow buttons in the tab workspace.
xtpWorkspaceHideClose Use this flag to hide the close button in the tab workspace.
xtpWorkspaceHideAll Use this flag to hide all buttons in the tab workspace.
xtpWorkspaceShowActiveFiles Use this flag to show the active file button.
xtpWorkspaceHideArrowsAlways Use this flag to hide arrow buttons always.
xtpWorkspaceShowCloseTab Use this flag to show a close button in the tab button.
xtpWorkspaceShowCloseSelectedTab Use this flag to show a close button in the selected tab button.

Example

This sample illustrates how to show/hide the TabWorkspace buttons.

' This sample code illustrates how to hide the tab workspace Close button.
CommandBars.TabWorkspace.Flags = xtpWorkspaceHideClose

' This sample code illustrates how to hide the tab workspace Arrow buttons.
CommandBars.TabWorkspace.Flags = xtpWorkspaceHideArrows

' This sample code illustrates how to hide all of the tab workspace buttons.
CommandBars.TabWorkspace.Flags = xtpWorkspaceHideAll

' This sample code illustrates how to unhide all of the tab workspace buttons. This is the default behavior.
CommandBars.TabWorkspace.Flags = 0

See Also

TabWorkspace Flags


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.