Skip to main content

TdxBarManager.OnBarReset Event

Enables you to cancel resetting toolbar settings and prohibit the confirmation dialog from being displayed to end-users.

Declaration

property OnBarReset: TdxBarResetEvent read; write;

Remarks

This event is fired when toolbar settings are reset using any of the following methods:

Sender specifies the bar manager that fired this event.

ABar specifies a toolbar to be reset.

Pass True as AHandled to cancel resetting toolbar settings. In this instance, all methods and events associated with a reset (such as DoBarBeforeReset, DoBarAfterReset, OnBarBeforeReset, OnBarAfterReset, etc.) will not be called/fired.

Pass False as AShowConfirmation to prohibit the confirmation dialog from being displayed to end-users.

See Also