Vcl.ComCtrls.TToolBar.CustomizeKeyName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CustomizeKeyName: string read FCustomizeKeyName write FCustomizeKeyName;

C++

__property System::UnicodeString CustomizeKeyName = {read=FCustomizeKeyName, write=FCustomizeKeyName};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Specifies the registry key where the tool bar saves its current button configuration before the user changes it using the toolbar customize dialog.

Use CustomizeKeyName to specify where the toolbar saves its button configuration when the user first displays the toolbar customize dialog. This is a subkey of HKEY_CURRENT_USER.

When the user double-clicks the tool bar to display the toolbar customize dialog, the tool bar receives an OnCustomizing event and then automatically saves its current configuration to this key using the name specified by the CustomizeValueName property. If the user instructs the dialog to restore this configuration, the toolbar fetches the saved configuration from this registry key.

See Also