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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
smiley
Posts: 1,101
Registered: ‎07-14-2008
My Carrier: Fido

Do I need to free the Sheet after closing the screen?

If I use this to load the xml screen in C++

 

    QmlDocument *qml = QmlDocument::create("asset:///myscreen.qml").parent(this);
    mySheet = qml->createRootObject<Sheet>();
    mySheet->open();

do I have to free it after the screen is closed or does the OS free it?

Please use plain text.