iOS Question iSideMenu stop menu's from opening

Discussion in 'iOS Questions' started by Brian Robinson, Mar 6, 2015.

Similar threads

B4i Question iSideMenu
B4i Question iSideMenu only one page
B4i Question iSideMenu issue
B4i Question Problem iSideMenu / CustomListView ?
B4i Question iSideMenu width
B4i Question iSideMenu button and width
  1. Brian Robinson

    Brian Robinson Active Member Licensed User

    Quick Question.

    Is the OpenGesturesEnabled property when set to false designed to stop you from being able to open the side menu's?

    I have set it to false and I am still able to swipe the menu's open.

    Cheers
    Brian
     
  2. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Are you sure?
    I disable this feature and swipe menu not open with gesture
     
  3. Brian Robinson

    Brian Robinson Active Member Licensed User

    Thanks for your answer, that is why I was asking what the expected behaviour was. If that is the case, then I will do a small example to see where I am going wrong.

    Cheers
    Brian
     
  4. Brian Robinson

    Brian Robinson Active Member Licensed User

    I have created a small example of what I mean.

    In my example I am trying to turn off the side menu's from a side menu item, which is not what I am doing in my real app, but it should demonstrate what I need to do. Just not sure if that is what the property is for.

    Do I have to reassign the KeyController instead to achieve what I want to do?
     

    Attached Files:

  5. davepamn

    davepamn Active Member Licensed User

    Last edited: Mar 6, 2015
  6. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I think that wirte smc.OpenGesturesEnabled = False in Page_Resize
     
  7. Brian Robinson

    Brian Robinson Active Member Licensed User

    Sorry, forgot to mention that you need the iTableVew library for my side menu.

    Thanks for the suggestion, but there is nothing in there that would be forcing Page_Resize to be called.

    Cheers
    Brian
     
  8. Brian Robinson

    Brian Robinson Active Member Licensed User

    I have found a fix for it.

    But I am probably doing it the wrong way. I am manipulating the KeyController for the app instead.

    If there is an easier way to do it I would be happy to know, and also why the OpenGesturesEnabled property does not work in this case.


    Cheers
    Brian
     

    Attached Files:

  9. Erel

    Erel Administrator Staff Member Licensed User

  10. Brian Robinson

    Brian Robinson Active Member Licensed User

    Thanks Erel.
     
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