Skip to main content

GetBarManagerByForm(TCustomForm) Method

Returns the bar manager belonging to a specified form.

Declaration

function GetBarManagerByForm(AForm: TCustomForm): TdxBarManager;

Parameters

Name Type Description
AForm TCustomForm

The target form.

Returns

Type Description
TdxBarManager

The bar manager located on the target form (AForm).

The function returns nil (in Delphi) or nullptr (in C++Builder) if the target form does not contain a bar manager.

Remarks

You can use the dxBarManagerList global variable to access all TdxBarManager components in the application.

See Also