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
Highlighted
Developer
Posts: 100
Registered: ‎10-01-2012
My Device: BB10 Dev Alpha
My Carrier: Roger

How to change Titlebar:acceptAction's title?

Hi all,

 

Does anyone know how to change QML's titleBar.acceptionAction.Title from c++ code? 

I want to chage the "Skip" to "Upload"

 

Page {
    id: pagePhoto
    titleBar: TitleBar {

        title: "Photo"
        dismissAction: ActionItem {
            title: "Back"
            onTriggered: {
              cs.gotoPreviousPage();
        }
   }
  
    acceptAction: ActionItem {
        title: "Skip"
    }
}

 

Thanks.