TdxBarManager.ResetToolBar(TdxBar) Method
Restores the original settings of the ABar toolbar.
Declaration
procedure ResetToolBar(ABar: TdxBar);
Parameters
Name | Type |
---|---|
ABar | TdxBar |
Remarks
When the ResetToolBar method is invoked, a confirmation dialog appears prompting the end-user to select whether to proceed with the operation, or cancel it. If confirmed, the ABar toolbar gets the original settings.
ABar specifies the bar to be restored.
At runtime, the confirmation dialog box can be invoked by clicking the Reset button within the Toolbars page of the Customization Form.
To make a reset and display of the confirmation dialog optional for individual toolbars, handle a bar manager’s OnBarReset event.
Note
When the UseFullReset property is set to False (default), not all of a toolbar’s settings are restored. Refer to the description of this property for details.
See Also