Skip to content

TabToolBar Collection Members

See Also

See Also


TabToolBar Collection Members

Public Methods

Method Description
Public MethodDelete Deletes the Tabbed Toolbar.
Public MethodEnableDocking Enables docking of the Tabbed Toolbar to different edges of the form or it can be "floating".
Public MethodFindControl Finds and returns the specified control within the Tabbed ToolBar's collection of controls.
Public MethodGetIconHeight Gets the height of the icons displayed in the Tabbed Toolbar.
Public MethodGetIconWidth Gets the width of the icons displayed in the Tabbed Toolbar.
Public MethodGetWindowRect Gets the bounding rectangle of the Tabbed Toolbar. This is the area of the window that the Tabbed ToolBar occupies.
Public MethodInsertCategory Inserts a category into the Tabbed Toolbar.
Public MethodModifyStyle Modifies the style of the Tabbed ToolBar. This allows you to add/remove the "gripper".
Public MethodRecalcLayout Call this method to re-calculate the layout of the Tabbed ToolBar after making a layout change.
Public MethodRedrawBar Call this method to redraw the Tabbed Toolbar after making a change that requires the Tabbed Toolbar to be re-painted.
Public MethodRemoveCategory Removes a category from the Tabbed ToolBar.
Public MethodReset Resets the controls in the Tabbed ToolBar to their original state.
Public MethodSetFlags Sets the flags of the Tabbed ToolBar. This allows you to add/remove the MDI buttons that are displayed in the toolbar.
Public MethodSetIconSize Sets the size of the icons displayed in the Tabbed ToolBar.
Public MethodUpdateTabs Updates all the categories in the Tabbed Toolbar with any buttons/controls that have been added. Controls will not become visible in the tabs/categories until this method is called.

Public Properties

Property Description
Public PropertyAllowReorder Enables/Disables tab reordering within the Tabbed Toolbar.
Public PropertyBarID Gets the ID of the Tabbed ToolBar.
Public PropertyBuiltIn Gets whether the Tabbed Toolbar is a built-in command bar or a command bar added by the user using the customize dialog.
Public PropertyCategory Collection of tabs (TabControlItem objects) that correspond to all the categories that have been added to the Tabbed ToolBar.
Public PropertyCategoryCount Total number of categories that have been inserted into the Tabbed ToolBar.
Public PropertyCloseable Gets/Sets a Boolean value indicating whether the Tabbed ToolBar is closeable. If false, the Tabbed ToolBar cannot be closed or hidden.
Public PropertyCommandBars Reference to the parent CommandBars object.
Public PropertyContextMenuPresent Gets/Sets whether a command to hide/show the tabbed toolbar is added to the context menu that is displayed when you right-click on any command bar, dialog bar, or tabbed toolbar.
Public PropertyControls Gets the collection of controls in the Tabbed ToolBar.
Public PropertyCustomizable Gets/Sets a Boolean value indicating whether the Tabbed ToolBar is customizable.
Public PropertyCustomizeDialogPresent Gets/Sets whether the tabbed toolbar appears in the Customization Dialog.
Public PropertyDefaultButtonStyle Specifies the default style that will be applied to controls added to the toolbar.
Public PropertyDoubleGripper Specifies whether menu items that are "checked" will have both a check mark and an image next to them in the popup menu.
Public PropertyEnableAnimation Specifies whether to use animation effects with this tabbed toolbar.
Public PropertyhWnd Returns the handle of the Tabbed Toolbar.
Public PropertyMinimumWidth Gets/Sets the minimum width of the Tabbed Toolbar.
Public PropertyPosition Gets/Sets the position of the tabbed toolbar.
Public PropertySelectedControl Gets the currently selected control from the tabbed toolbar.
Public PropertyShowExpandButton Shows or hides the Expand Button for the tabbed toolbar.
Public PropertyShowGripper Hides/Shows the toolbar gripper.
Public PropertyShowTextBelowIcons Shows the caption of controls added to the toolbar below the control's icon.
Public PropertyTabPaintManager Gets the paint manager properties used to draw the tabs in the Tabbed Toolbar.
Public PropertyTitle Gets/Sets the title of the tabbed toolbar.
Public PropertyType Gets the type of the command bar.
Public PropertyVisible Gets/Sets a boolean value indicating whether the tabbed toolbar is visible.
Public PropertyWidth Gets/Sets the width of the toolbar in pixels when it is floating or displayed as a popup.

Events

Event Description
Public EventBeforeItemClick Occurs when a tab button is clicked, but before the click message is processed by the CommandBars.
Public EventSelectedChanged Occurs when a new TabControlItem is selected in the TabToolBar. I.e., the focus has changed from one tab to another.

See Also


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