scsjc Well-Known Member Licensed User Longtime User Mar 4, 2020 #1 Can the menu DSNavigationDrawer be temporarily disabled? ... so it can't be opened by sliding and re-enabled from code?
Can the menu DSNavigationDrawer be temporarily disabled? ... so it can't be opened by sliding and re-enabled from code?
corwin42 Expert Licensed User Longtime User Mar 5, 2020 #2 Use the following: B4X: NavDrawer.SetLockMode(NavDrawer.GRAVITY_START, NavDrawer.LOCK_MODE_LOCKED_CLOSED) This should disable the gesture. Upvote 0
Use the following: B4X: NavDrawer.SetLockMode(NavDrawer.GRAVITY_START, NavDrawer.LOCK_MODE_LOCKED_CLOSED) This should disable the gesture.