Skip to main content

TdxBarManager.GetItemByName(string) Method

Returns an item by name.

Declaration

function GetItemByName(const AName: string): TdxBarItem;

Parameters

Name Type
AName string

Returns

Type
TdxBarItem

Remarks

Items of a toolbar are stored in a bar manager’s Items collection. The GetItemByName function locates an item with the name specified by the AName parameter in this collection and returns it (if found). Otherwise, the function returns nil.

See Also