Skip to main content

TdxBarManager.OnBarBeforeReset Event

Occurs before the default settings of a specific toolbar are restored.

Declaration

property OnBarBeforeReset: TdxBarEvent read; write;

Remarks

Handle the OnBarBeforeReset event to perform specific actions before the toolbar specified by the ABar parameter is reset (its default settings restored). The Sender parameter specifies the bar manager to which the toolbar belongs.

This event is fired by the DoBarBeforeReset method.

To perform specific actions after the default data of a specific toolbar has been restored, handle the OnBarAfterReset event.

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

See Also