Bug? Managing Pages with and without Toolbar

b4auser1

Well-Known Member
Licensed User
Longtime User
I need to use in my application pages with and without Toolbar.
I Show page with ToolBarVisible on
B4X:
Public Sub Show
...
    Main.NavControl.ShowPage(pg)
   
    Main.NavControl.ToolBarVisible = True
End Sub
then I Show page with ToolBarVisible off
B4X:
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
B4X:
Sub pg_Disappear
    Main.NavControl.ToolBarVisible = True
End Sub
after return to first page
Toolbar overlaps view in the bottom.

If I use
B4X:
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 ?
 

Attachments

  • ThreePagesToolbarVisible.zip
    7 KB · Views: 214

b4auser1

Well-Known Member
Licensed User
Longtime User
Ok, could you move the topic to the questions forum ? Or it's better to repeat it there ?
 
Top