Back to Devexpress

TdxBarManager Methods

vcl-dxbar-dot-tdxbarmanager-dot-underscore-methods.md

latest18.5 KB
Original Source

TdxBarManager Methods

A bar manager.

NameDescription
ActivateHint(Boolean,string,TObject)For internal use only.
ActiveMDIChild
AddButtonCreates a TdxBarButton and adds it to the current bar manager.
AddItem(TdxBarItemClass)Creates an instance of the AClass item and adds it to the current bar manager.
AddSubItemCreates a TdxBarSubItem and adds it to the current bar manager.
AddToolBar(Boolean,Boolean)Creates a new toolbar instance and adds it to the current bar manager.
Assign(TPersistent)Inherited from TPersistent.
AssignTo(TPersistent)Inherited from TPersistent.
BarByCaption(string)Returns a toolbar by its caption.
BarByComponentName(string)Returns a toolbar by its name.
BarByOldName(string)Deprecated. This procedure exists for backward compatibility only. Call the BarByCaption or BarByComponentName function instead.
BeginInvoke(TAsyncConstArrayFunctionEvent,Untyped[],TObject)Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProc,Untyped[],TObject)Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProcedureEvent,Untyped[],TObject)Inherited from TComponent.
BeginInvoke(TAsyncFunctionEvent,TObject)Inherited from TComponent.
BeginInvoke(TAsyncProcedureEvent,TObject)Inherited from TComponent.
BeginInvoke(TProc,TObject)Inherited from TComponent.
BeginInvoke<TResult>(TAsyncConstArrayFunc<TResult>,Untyped[],TObject)Inherited from TComponent.
BeginInvoke<TResult>(TFunc<TResult>,TObject)Inherited from TComponent.
BeginUpdatePrevents a bar manager from being updated until the EndUpdate method is called.
CanShowRecentItemsDetermines whether the recently used items of the current bar manager’s toolbars can be displayed.
ChangeScale(Integer,Integer) protectedScales the component and the associated controls and/or UI elements using the specified numerator and denominator values. Inherited from TcxScalableComponent.
CreateGroupCreates an item group.
Customizing(Boolean)Displays or closes the toolbar’s Customization Form.
DeleteToolBar(TdxBar,Boolean)Deletes the ABar toolbar.
DestroyComponentsInherited from TComponent.
DestroyingInherited from TComponent.
DoBarAfterReset(TdxBar) protectedFires the OnBarAfterReset event.
DoBarBeforeReset(TdxBar) protectedFires the OnBarBeforeReset event.
DoBarClose(TdxBar) protectedFires the OnBarClose event.
DoBarDockingStyleChanged(TdxBar) protectedFires the OnBarDockingStyleChange event.
DoClickItem(TdxBarItem) protectedFires the OnClickItem event.
DoCloseButtonClick protectedFires the OnCloseButtonClick event.
DoDocking(TdxBar,TdxBarDockingStyle,TdxDockControl) protectedChecks whether a toolbar can be moved and fires the OnDocking event.
DoMDIButtonCommand(TdxBarMDIButton)
DoShowCustomizingPopup(TdxBarItemLinks) protectedFires the OnShowCustomizingPopup event.
DoShowToolbarsPopup(TdxBarItemLinks) protectedFires the OnShowToolbarsPopup event.
EndFunctionInvoke(IAsyncResult)Inherited from TComponent.
EndInvoke(IAsyncResult)Inherited from TComponent.
EndInvoke<TResult>(IAsyncResult)Inherited from TComponent.
EndUpdate(Boolean)Enables updating of a bar manager after a call to the BeginUpdate method.
Equals(TObject)Inherited from TObject.
ExchangeItems(Integer,Integer)Swaps two items in a bar manager’s Items list.
ExecuteAction(TBasicAction)Inherited from TComponent.
FindComponent(String)Inherited from TComponent.
FreeNotification(TComponent)Inherited from TComponent.
FreeOnReleaseInherited from TComponent.
GetAllItemsByCategory(Integer,TList)Populates a list with the items (both accessible and inaccessible to end-users) in a specified category and returns the number of items in this list.
GetChildren(TGetChildProc,TComponent)Inherited from TComponent.
GetCountByCategory(Integer)Returns the number of items (excluding TdxBarControlContainerItem items) that are currently accessible to end-users in a specified category.
GetHashCodeInherited from TObject.
GetItemByCategory(Integer,Integer)Returns a particular item in a specified category.
GetItemByName(string)Returns an item by name.
GetItemsByCategory(Integer,TList)Populates a list with the items in a particular category and returns a count of the items in the list.
GetNamePathInherited from TPersistent.
GetOwnerInherited from TPersistent.
GetPaintStyleReturns the paint style of the current bar manager.
GetParentComponentInherited from TComponent.
GetRealPaintStyle protectedReturns the real paint style of the current bar manager.
GetUniqueItemName(TdxBarItemClass)Generates a unique name for a bar manager’s item whose type is specified by the ABarItemClass parameter.
GetUniqueToolbarCaption(string)Generates a unique caption for a bar manager’s toolbar adding an index to the string passed by the ABaseName parameter.
GetUniqueToolbarName(string)Generates a unique name for the bar manager’s toolbar adding an index to the string passed by the ABaseName parameter.
HasParentInherited from TComponent.
HideAllHides the active toolbar and its UI elements.
HideHintFor internal use only.
IgnoreKeyStrokeForces the bar manager to ignore the keystroke passed to an OnHandleKey event handler.
InsertComponent(TComponent)Inherited from TComponent.
IsImplementorOf(IInterface)Inherited from TComponent.
Loaded protectedInitializes the component following the application form loading. Inherited from TcxScalableComponent.
LoadFromIniFile(string)Loads bar manager’s settings from an INI file.
LoadFromRegistry(string)Loads the bar manager’s settings stored in the registry.
LoadFromStream(TStream)Loads the bar manager’s settings from a stream.
Merge(TdxBarManager,Boolean)Incorporates bars of the ABarManager into the current bar manager.
MoveItem(Integer,Integer)Moves an item to a new position in a bar manager’s Items collection.
Notification(TComponent,TOperation)Inherited from TComponent.
ReferenceInterface(IInterface,TOperation)Inherited from TComponent.
RemoveComponent(TComponent)Inherited from TComponent.
RemoveFreeNotification(TComponent)Inherited from TComponent.
RenameToolBar(TdxBar)Displays the Rename Toolbar dialog used for editing the ABar toolbar’s caption.
ResetToolBar(TdxBar)Restores the original settings of the ABar toolbar.
ResetUsageDataRestores the default set of visible item controls to menus and toolbars.
ResetUsageDataWithConfirmationDisplays a dialog box with a request message and in case of a positive answer restores the default data.
SaveToIniFile(string)Saves bar manager’s settings to an INI file.
SaveToRegistry(string)Saves the bar manager’s settings to the registry.
SaveToStream(TStream)Saves the bar manager’s settings to a stream.
ScaleForPPI(Integer)Scales the component according to the specified DPI value. Inherited from TcxScalableComponent.
SetParentComponent(TComponent)Inherited from TComponent.
SetSubComponent(Boolean)Inherited from TComponent.
ToStringInherited from TObject.
Unmerge(TdxBarManager)Resets the ABarManager and the current bar manager to their previous states (prior to a TdxBarManager.Merge call).
UpdateAction(TBasicAction)Inherited from TComponent.
UseRightToLeftAlignment

See Also

TdxBarManager Class

TdxBarManager Members

dxBar Unit