Discussion Board
-
GetChild or findChild in QML/JS
2011-09-29, 08:22
#1
Registered User
To find a child item from parent, we can use findChild() in Qt.. What are its parallels in QML ?
-
Re: GetChild or findChild in QML/JS
2011-09-29, 09:52
#2
Nokia Developer Moderator
You can use Item::childAt ( real x, real y ) or write few JS lines to find your object inside the object's children list [1]
[1] http://doc.qt.nokia.com/4.7-snapshot...#children-prop
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules