Skip to main content

TdxBarManager.BarByCaption(string) Method

Returns a toolbar by its caption.

Declaration

function BarByCaption(const ACaption: string): TdxBar;

Parameters

Name Type
ACaption string

Returns

Type
TdxBar

Remarks

A caption uniquely represents a toolbar for end-users in visual controls (for instance, the Customization Form, a toolbar’s popup menu, etc.). Use the BarByCaption method to access a bar by its Caption passed as the ACaption parameter.

See Also