Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarManager.OnBarReset Event

In This Article

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

#Declaration

Delphi
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