Skip to main content

TdxBarItemLinks.FreeForeignItems(TdxBarManager) Method

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

Declaration

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