Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarItemLinks.FreeForeignItems(TdxBarManager) Method

Disposes items of another bar manager whose item links are stored in the current item link collection.

#Declaration

Delphi
procedure FreeForeignItems(ForeignBarManager: TdxBarManager);

#Parameters

Name Type
ForeignBarManager TdxBarManager

#Remarks

In MDI applications, any child window can contain item links associated with items of other bar managers. This may occur, for instance, if you add item links to another bar manager using the OnMenuMerge or the OnMerge event.

The FreeForeignItems method disposes of items of the bar manager specified by ForeignBarManager. If nil is passed, this method disposes of items of all incorporated bar managers.

See Also