I have 3 options to choose from my answer dialogue box.
1. Play (plays audio)
2. Exit (exits out answer dialogue box)
3. Stop (pauses audio)
how do I prevent the answer dialogue box from exiting out after clicking options 1 and 2?
Answer Dialogue Box
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Answer Dialogue Box
Hi Ferhan,
1. welcome to the forum!
2. The solution is easy, do not use an "Answer" dialog!
That is built-in behavior that it close after a click on ANY button!
Create a new stack (make it a substack of your mainstack) add your three buttons to it with
the appropriate script(s) and open that stack as "modal":
...
modal "name of your custom dialog here..."
...
IMPORTANT!
Be sure that you ahve at least ONE button in a MODAL stack that closes the stack!
Maybe you want to take a look at these stacks, great learning resource for the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
1. welcome to the forum!

2. The solution is easy, do not use an "Answer" dialog!
That is built-in behavior that it close after a click on ANY button!
Create a new stack (make it a substack of your mainstack) add your three buttons to it with
the appropriate script(s) and open that stack as "modal":
...
modal "name of your custom dialog here..."
...
IMPORTANT!
Be sure that you ahve at least ONE button in a MODAL stack that closes the stack!

Maybe you want to take a look at these stacks, great learning resource for the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus