TToolbar Customize

"neohuntt" <[email protected]>
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
hi there,

i am curious to know if somebody knows how to make a winzip like 
customizable toolbar or like the one you found in the internet 
explorer...

well my problem at all starts by the customize dialog which pops up 
when you double click the toolbar component the application...

the delphi help told's me this:

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. 


and this:

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. 

but i never got it like winzip or internet explorer let me explain 
the problem more detailed...

when the customize dialog is running i can delete buttons or 
rearrange them everything works fine but when i for example delete a 
button or move one from the right to the left window in the 
customize dialog and then close that dialog the buttons are gone 
forever till restarting my programm... how come??? because the 
button layout is saved to the registry using the two functions 
mentioned before...

also when i press reset in the customize dialog nothing happends the 
buttons are still gone...

would be great if someone could help me!


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-Bit SSL Security!
http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/i7folB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.