Skip to main content

TdxBarManager.DoBarBeforeReset(TdxBar) Method

Fires the OnBarBeforeReset event.

Declaration

procedure DoBarBeforeReset(ABar: TdxBar); dynamic;

Parameters

Name Type
ABar TdxBar

Remarks

The DoBarBeforeReset method is called before resetting a toolbar specified by the ABar parameter. The DoBarBeforeReset method fires the OnBarBeforeReset event.

Override the DoBarBeforeReset method to implement specific actions before restoring the default settings of a particular toolbar.

To implement specific actions after restoring the default settings of a particular toolbar, call the DoBarAfterReset method.

To make a reset optional for individual toolbars, handle a bar manager’s OnBarReset event.

See Also