Bug? Managing Pages with and without Toolbar

Discussion in 'iOS Bugs & Wishlist' started by b4auser1, Apr 20, 2017.

  1. b4auser1

    b4auser1 Well-Known Member Licensed User

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

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

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    This is not a bug. This is how the OS handles this change.

    There are ways to improve it however they should be discussed in the questions forum.
     
  3. b4auser1

    b4auser1 Well-Known Member Licensed User

    Ok, could you move the topic to the questions forum ? Or it's better to repeat it there ?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread.
     
Loading...