iOS Question ToolBarVisible

Discussion in 'iOS Questions' started by Ramezanpour, Apr 27, 2015.

  1. Ramezanpour

    Ramezanpour Active Member Licensed User

    Hi

    I have 2 pages in page 1 ,ToolBarVisible is false and in page 2 ToolBarVisible is true but When i click on back button for go to page 1 ToolBarVisible dont change and it is visible .

    I want when Click on back button ToolBarVisible set to false

    Is Any way to control Back button?
     
  2. Haris Hafeez

    Haris Hafeez Active Member Licensed User

    Hi,

    May be I haven't understood your problem but if you just want to hide the toolbar upon exiting a page, you can do something like:

    Code:
    Private Sub MyPage_Disappear
        Main.NavControl.ToolBarVisible = 
    False
    End Sub
    You should replace MyPage with the page event you have defined for your page 2.

    Hope this is helpful.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice