Skip to main content

TdxBarManager.BarByOldName(string) Method

Deprecated. This procedure exists for backward compatibility only. Call the BarByCaption or BarByComponentName function instead.

Declaration

function BarByOldName(const AName: string): TdxBar;

Parameters

Name Type Description
AName string

The OldName property value for the target bar item.

Returns

Type Description
TdxBar

The bar whose OldName property is passed as the AName parameter.

The function returns nil (in Delphi) or nullptr (C++Builder) if no bar with the specified old name exists.

See Also