Skip to main content

TdxBar.AllowReset Property

Specifies whether a toolbar can be restored by end-users.

Declaration

property AllowReset: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

If this property is set to True, end-users can restore the original settings for the current toolbar by clicking the ‘Reset…‘ button on the toolbar customization form or using the Quick Customization Popup Menu. Set the property to False to prevent the current toolbar from being restored. In such an instance, the ‘Reset…‘ button is disabled. Alternatively, you can use the AllowReset property or the OnBarReset event of a bar manager.

The default value of the AllowReset property is True.

See Also