Vcl.ComCtrls.TToolBar.CustomizeValueName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CustomizeValueName: string read FCustomizeValueName write FCustomizeValueName;

C++

__property System::UnicodeString CustomizeValueName = {read=FCustomizeValueName, write=FCustomizeValueName};

Properties

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

Description

Specifies the registry value under which the tool bar saves its current button configuration before the user changes it using the toolbar customize dialog.

Use CustomizeValueName to specify the name that the toolbar uses to save its button configuration when the user first displays the toolbar customize dialog. This is a value under the registry key specified by the CustomizeKeyName property.

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 the Registry using this value. If the user instructs the dialog to restore this configuration, the toolbar fetches this saved configuration.

See Also