How can a Cascades-C++ app close self?

How can a Cascades-C++ app close self? In other words, how a QML button OnClicked event can close the application?

Application.Quit ().

There is an object in the JavaScript global namespace called "Application", and it's one of the things on it. Basically, all available on bb::Cascades:Application locations should be available in QML there.

(The fact that it is called "Application" is not directly related in the name of the class... that is exactly what they choose to make it appear as when they entered the class for QML.) None of this has been documented yet, I can tell.)

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Install the additional content does not

    Hello! Again and again, I tried to install the additional content in logic, but his does not work. I tried to install 2-3 in time, I tried to install everything at once. Nothing works. I restarted my computer, no difference. I looked up to find (for

  • someone's faking for me! Help!

    Hello Skype's community, I'm a little afraid now... so... Let me explain:yesterday, my friend who said suddenly an account with this name: (?) ((there is a random number here)) ((my friends and Skype username)) has been blocked by her, when she tried

  • Restore the ipod to iTunes.

    I'm trying to restore my iPod Touch 5 g ios9 settings using iTunes. I get an error message saying there are purchases on your iPod that have not been transferred to iTunes if you restore, you will need to purchase them again. I did everything what ap

  • Implementation of multiple digital outputs with a box USB-6009

    Hi all I write the code to implement a USB-6009 multiple digital channels, digital outputs independent.  I have configured the function of "DAQmx create Channel" to create 'a channel for each line', but I can't understand how to access and control th

  • The envelope of the beat (coupled pendulum)

    Dear members, With my USB6008 I measure the position of coupled pendulums. Fortunately, it works very well. But I want to create the envelope of my measured of the curve (see photo). I tried to do it with the help of the Butterworth filter VI and VI