Hi, Forgot the attachment, here it comes :) BR, Shiping
-----Original Message----- From: Jones Martin (Nokia-MS-Qt/Brisbane) Sent: 09 November, 2010 01:05 To: Ji Shiping (Nokia-MS/Espoo); qt-qml@trolltech.com Subject: RE: Change property of dynamically created component There's nothing wrong with this in concept. Could you provide a small self-contained example of what you've tried? Martin. > -----Original Message----- > From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On > Behalf Of Ji Shiping (Nokia-MS/Espoo) > Sent: Tuesday, 9 November 2010 4:15 AM > To: qt-qml@trolltech.com > Subject: [Qt-qml] Change property of dynamically created component > > Hi, > > We have a QML with two states and one loader component. In "state2", a new > component "yellowRectComponent" is created by the loader. In "state3", we'd > like > to modify this newly created component's properties, but it doesn't seem to > work > (the new component creation is successful though). > > Do you know whether this is supported scenario or there is alternative way of > achieving this? > > Thanks. > > BR, > Shiping > > _______________________________________________ > Qt-qml mailing list > Qt-qml@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-qml
TestPropertyChanges.qml
Description: TestPropertyChanges.qml
_______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml