TdxBarManager.BarByComponentName(string) Method
Returns a toolbar by its name.
Declaration
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