RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.CustomizeKeyName Property

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

Pascal
property CustomizeKeyName: string;
C++
__property AnsiString CustomizeKeyName;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!