Word Toolbar Still there on unregister

Add-in Express™ Support Service
That's what is more important than anything else

Word Toolbar Still there on unregister
 
nick amel




Posts: 11
Joined: 2005-02-18
I have created and addin (delphi vcl) for word and excel, the toolbars have the temporary property to false and the add-in is registered for all users.
I am manualy creating one toolbar and one menubar on the module initialize event.

I need the temporay property to true so that toolbar position will be preserved the next time word opens.

My problem is that when i unregister the addin the toolbars are still there.
If i've set temporary to true then everything works as expected except that the toolbar do not save its position.

Any help/samples ????
Posted 01 Oct, 2005 03:12:41 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Nick,

I would recommend you setting the Temporary property to True and saving/restoring the command bar position in the OnAddInBeginShutdown and OnAddInInitialize event handles.

You can download example here:
http://www.add-in-express.com/projects/adx-command-bar-position.zip

Posted 02 Oct, 2005 07:33:14 Top