General information
Category:
The Mere Mortals Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only