I need to use in my application pages with and without Toolbar.
I Show page with ToolBarVisible on
Public Sub Show
...
Main.NavControl.ShowPage(pg)
Main.NavControl.ToolBarVisible = True
End Sub
then I Show page with ToolBarVisible off
Public Sub ShowModule
...
Main.NavControl.ShowPage(pg)
Main.NavControl.ToolBarVisible = False
...
End Sub
It works
After I press back button in second page and return to first page,
obviously I don't see Toolbar on the first page.
When I place into second page code
Sub pg_Disappear
Main.NavControl.ToolBarVisible = True
End Sub
after return to first page
Toolbar overlaps view in the bottom.
If I use
Sub pg_Appear
Main.NavControl.ToolBarVisible = True
End Sub
Sub pg_Appear
Main.NavControl.ToolBarVisible = False
End Sub
then I see "bad" visual effect, when the pages appear on the screen.
How to resolve this problem ?