Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10
My Carrier: Aircel

Application Menu in TabPane

Hi All,

 

I am facing a very strange problem with the Application Menu.

I am creating application menu in TabPane. And I am able to hide and show these according to my situation but the problem is, this whole thing is working fine with the 10.2 OS device and simulator.

But when i run it in 10.1 OS device and simulator as the app launch application menu automatically open at the very first screen.

Why this thing is happening? Any one has the suggestion please provide.

 

I am attaching my code also.

 

 

TabbedPane {
    id: tabPanePage
    activeTab: tabHome
    objectName: "mainTabbedPane"
    showTabsOnActionBar: false
    Menu.definition: MenuDefinition {
        id: menu
        settingsAction: SettingsActionItem {
            onTriggered: {
             
            }
        }
        actions: [
            ActionItem {
                id: btnTest
                title: "Test"
                onTriggered: {
                    
                }
            }
        ]
    }
    Tab {
        id: tabHome
        title: "Home"
        NavigationPane {
            id: navPaneHome
            backButtonsVisible: false
            objectName: "navPaneHome"
            HomePage {
                id: home
            }
        }
        
    }
}