Information générale
Catégorie:
The Mere Mortals Framework
Titre:
GoApp.RemoveToolBar() not calling ToolBarManager
All,
I need to temporarily remove the MainToolBar. I later need to recreate the toolbar. The problem is when the toolbar is removed, the reference is not removed from the ToolBarManager.
I changed the following code:
In goApp.RemoveToolBar()
Change:
IF TYPE("this.oMainToolbar") == "O" AND ! ISNULL(this.oMainToolbar)
To:
IF TYPE("this.oMainToolbar") == "O" AND ! ISNULL(this.oMainToolbar) AND This.oToolbars.Remove(This.oMainToolBar.Name)
This fixed the problem
TIA
Rex
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement