Skip to content

MiniToolBar Object Members

See Also

MiniToolBar Overview | AddMiniToolBar Method | AddPopup Method | PopupContextMenu Method | PopupMiniToolBar Method

See Also


Public Methods

Method Description
Public MethodDelete Deletes the command bar.
Public MethodEnableDocking Enables docking of the command bar to different edges of the form or it can be "floating".
Public MethodFindControl Finds and returns the specified control within the command bar's collection of controls.
Public MethodGetIconHeight Gets the height of the icon.
Public MethodGetIconWidth Gets the width of the icon.
Public MethodGetWindowRect Gets the bounding rectangle of the command bar. This is the area of the window that the command bar occupies.
Public MethodPopupContextMenu Displays the MiniToolbar without a context menu below.
Public MethodPopupMiniToolBar Displays the MiniToolbar without a context menu below.
Public MethodRecalcLayout Call this method to re-calculate the layout of the command bar after making a layout change.
Public MethodRedrawBar Call this method to redraw the command bar after making a change that requires the command bar to be re-painted.
Public MethodReset Resets the controls in the ToolBar to their original state.
Public MethodSetFlags Sets the flags of the command bar. This allows you to add/remove the MDI buttons that are displayed in the command bar.
Public MethodSetIconSize Sets the size of the actual bitmapped images to be added to the toolbar.

Public Properties

Property Description
Public PropertyBarID Gets the ID of the command bar.
Public PropertyBuiltIn Gets whether the command bar is a built-in command bar or a command bar added by the user using the customize dialog.
Public PropertyCloseable Gets/Sets a Boolean value indicating whether the command bar is closeable. If false, the command bar cannot be closed or hidden.
Public PropertyCommandBars Reference to the parent CommandBars object.
Public PropertyContextMenuPresent Gets/Sets whether a command to hide/show the command bar is added to the context menu that is displayed when you right-click on any command bar. By default, all command bars are added to the context menu.
Public PropertyControls Gets the collection of controls on the command bar.
Public PropertyCustomControlKeyboardInteraction
Public PropertyCustomizable Gets/Sets a Boolean value indicating whether the command bar is customizable. If false, this command bar cannot be customized.
Public PropertyDefaultButtonStyle Specifies the default style that will be applied to controls added to the toolbar.
Public PropertyEnableAnimation Specifies whether to use animation effects with this command bar.
Public PropertyhWnd Returns the handle of the command bar.
Public PropertyPosition Gets/Sets the position of the command bar.
Public PropertySelectedControl Gets the currently selected control from a command bar.
Public PropertyShowGripper Hides/Shows the toolbar gripper.
Public PropertyShowTextBelowIcons Shows the caption below the control's icon.
Public PropertyTitle Gets/Sets the title of the command bar.
Public PropertyType Gets the type of the command bar.
Public PropertyVisible Gets/Sets a Boolean value indicating whether the command bar is visible.
Public PropertyWidth Gets/Sets the width of the toolbar when it is floating, displayed as a popup, or a mini toolbar.

See Also

MiniToolBar Overview | AddMiniToolBar Method | AddPopup Method | PopupContextMenu Method | PopupMiniToolBar Method


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