09-19-2013 03:44 AM
My application uses a navigationpane which contains two pages. Have label in Page2. But when I try to settext of that label,it doesn't work. All objectnames are set and page2 is as attachedobject of page1.
Here is cpp code
AbstractPane *root = qml->createRootObject<AbstractPane>();
page2 = root->findChild<Page*>("page2");
lbl = page2->findChild<Label*>("lbl");
lbl->setText("set label text");
Solved! Go to Solution.
09-19-2013 04:54 AM
09-19-2013 11:28 AM
09-19-2013 12:06 PM
Can you please help?
var page = page2.createObject();
When button is clicked the page2 is loaded. What should I do to attach it at beginning.
09-19-2013 12:10 PM
09-20-2013 04:58 AM
Now I get the findchild work. I 'm also able to settext and lbl.text() returns the proper text but the problem is the text is not updated in UI.what should i do to update that?
09-20-2013 06:07 AM