I wonder how I can prevent the popup closing when a button was clicked. I want to add an info button, but the popup should stay on screen when the button was clicked. it should only disappear after another shown button was clicked. Is this possible?
That is not possible.
It is possible but not with standard… you will need to code what a standard popup would do with your own code.
using standard functionality… So let’s assume you you have a popup with “yes, no, more info” on your more info option you would have to recreate the popup with “yes, no” aas your options after displaying “more info”.
whatever, you will need to code for this
To be clear,
- You cannot do this with native.showAlert()
- You can code your own custom dialog to handle this.
Also,
- This may allow that kind of functionality (verify on your own): https://marketplace.coronalabs.com/corona-plugins/dialogs-normal-informative-calendar-menu
- And… as always, SSK2 has a helper to get you started:https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/dialogs/
Thank you for your help! Much appreciated!
That is not possible.
It is possible but not with standard… you will need to code what a standard popup would do with your own code.
using standard functionality… So let’s assume you you have a popup with “yes, no, more info” on your more info option you would have to recreate the popup with “yes, no” aas your options after displaying “more info”.
whatever, you will need to code for this
To be clear,
- You cannot do this with native.showAlert()
- You can code your own custom dialog to handle this.
Also,
- This may allow that kind of functionality (verify on your own): https://marketplace.coronalabs.com/corona-plugins/dialogs-normal-informative-calendar-menu
- And… as always, SSK2 has a helper to get you started:https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/dialogs/
Thank you for your help! Much appreciated!