Skip to content

SetFlags Method

Description

Sets the flags of the Tabbed ToolBar. This allows you to add or remove the MDI buttons that are displayed in the toolbar.

Syntax

Public Sub SetFlags( _
    ByVal Add As XTPMenuBarFlags, _
    ByVal Remove As XTPMenuBarFlags _
)

Parameters

Add Flags

Flag Description
xtpFlagHideMinimizeBox Specifies to hide the minimize box displayed on the Command Bar.
xtpFlagHideMaximizeBox Specifies to hide the maximize box displayed on the Command Bar.
xtpFlagHideClose Specifies to hide the close button displayed on the Command Bar.
xtpFlagHideMDIButtons Specifies to hide all MDI buttons displayed on the Command Bar.
xtpFlagAddMDISysPopup Specifies to add the system MDI popup menu to the Menu Bar. This will appear as an icon to the far left of the Menu Bar and will display the MDI menu bar options when clicked.

Remove Flags

Flag Description
xtpFlagHideMinimizeBox Specifies to hide the minimize box displayed on the Command Bar.
xtpFlagHideMaximizeBox Specifies to hide the maximize box displayed on the Command Bar.
xtpFlagHideClose Specifies to hide the close button displayed on the Command Bar.
xtpFlagHideMDIButtons Specifies to hide all MDI buttons displayed on the Command Bar.
xtpFlagAddMDISysPopup Specifies to add the system MDI popup menu to the Menu Bar. This will appear as an icon to the far left of the Menu Bar and will display the MDI menu bar options when clicked.

See Also

TabToolBar Collection


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