HowTo Delete CommandBars Object? |
Post Reply |
Author | |
IUnknown
Newbie Joined: 30 July 2004 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 30 July 2004 at 5:44am |
CHello.
I create at runtime a CommandBars Object in a UserControl, here is the Code: Private m_Toolbar As XtremeCommandBars.CommandBars Set m_Toolbar = Controls.Add("COMMANDBARS.CommandBarsCtrl.1", "NToolbar") Later, if i dont need the CommandBars anymore, i want to destroy them, but how,? I tried this way: Controls.Remove "NToolbar" Set m_Toolbar = Nothing It doesnt work. If then i create a new Toolbar, the App close without ErrorMessages. So my question is simple, how can i destroy a Toolbar completely, so that i can create later a new one? Greets, IUnknown |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |