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

TdxBarManager.BarByComponentName(string) Method

Returns a toolbar by its name.

#Declaration

Delphi
function BarByComponentName(const AName: string): TdxBar;

#Parameters

Name Type
AName string

#Returns

Type
TdxBar

#Remarks

This function matches the AName‘s value with the toolbar’s Name property value.

If the search is successful, the function returns a reference to the toolbar’s instance; otherwise it returns nil.

AName specifies the toolbar’s name.

See Also