05-09-2013 11:07 AM
I don't want to display application menu for all screen. So, How can i hide it for a particular screen.
I tried with bellow code but it is not helping
Application.menuEnabled = false;
Is there any way we can hide it for a particular screen?
Solved! Go to Solution.
05-09-2013 11:59 AM - edited 05-09-2013 12:00 PM
I've been using Application::instance()->setMenuEnabled() in C++, but it should work in QML too. The command above seems to be correct. Is it being ignored?
You'll have to re-enable the menu when hiding the screen, for example in onPopTransitionEnded if using NavigationPane.
05-09-2013 12:05 PM
05-09-2013 02:57 PM
doing this in some cases without any problem from QML
as Zmey wrote, you can do this with NavigationPane:
if specific Page pushed, disable and if onPopTransitionEnded() for this Page, re-enable it
or on TabbedPane you have to check when active Tab changes