Skip to main content

TdxBar.OldName Property

Specifies the current toolbar’s name that is to be used when searching for a toolbar by its name.

Declaration

property OldName: string read; write;

Property Value

Type
string

Remarks

With ExpressBars Suite v6 and later, the Name property type is TComponentName. You can refer to a toolbar by its name.

In projects developed using previous versions of the ExpressBars Suite, the [Name]Name property type was string and the BarByName function was used to search for a toolbar by its name. When an old project is opened (originally built using an older version of the ExpressBars Suite), this property is set to the old Name property value stored in the .dfm file. To enable use of projects created with older versions of ExpressBars Suite, use the bar manager’s BarByOldName function or the bar’s OldName property. The BarByName function is now obsolete.

See Also