Hi there, I'm new at livecode and I have a question
I have made a 2 players game and a code that detects if they had chosen the same name (it might break the game) and answers them with a personalized answer box (is just a group of fields). So i was wondering if there was any way to make the code wait until the answer box is hidden.
Thanks and sorry for the bad english
Wait until group is hidden
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9386
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Wait until group is hidden
Code: Select all
wait 3 seconds
Re: Wait until group is hidden
Hi anonimus,
welcome to the forum!
Since the ASK and ANSWER dialogs are MODAL, this will happen automatically!
You will see the dialog and the next handler -> doanotherthing will only be executed AFTER
the user has clicked OK in the Answer dialog!
If that is what you mean.
Best
Klaus
welcome to the forum!
Since the ASK and ANSWER dialogs are MODAL, this will happen automatically!
Code: Select all
...
dothis
dothat
answer "Hi there!"
donanotherthing
...
the user has clicked OK in the Answer dialog!
If that is what you mean.
Best
Klaus