Hi all,
I'm wanting to display a dialog with a title and 2 buttons, one under the other.
I will not use the default "Yes", "No", "Cancel" dialog buttons. They will not be defined and therefore will not appear.
Each button will have its own _Click function.
When a button is clicked, the _Click function will run and then the dialog will close.
Preferably, the dialog will close first then the subsequent code will run.
I've looked thru the forum for this, but found nothing like I've mentioned here.
Any suggestions would be welcome on how to do this.
Thanx,
Mark Stuart
EDIT: Yes, I could define a panel and load the layout to it, but would rather use a B4X dialog.
I'm wanting to display a dialog with a title and 2 buttons, one under the other.
I will not use the default "Yes", "No", "Cancel" dialog buttons. They will not be defined and therefore will not appear.
Each button will have its own _Click function.
When a button is clicked, the _Click function will run and then the dialog will close.
Preferably, the dialog will close first then the subsequent code will run.
I've looked thru the forum for this, but found nothing like I've mentioned here.
Any suggestions would be welcome on how to do this.
Thanx,
Mark Stuart
EDIT: Yes, I could define a panel and load the layout to it, but would rather use a B4X dialog.