AW: Best practise for a quiz control?

Tiemo Hollmann TB toolbook at kestner.de
Fri Jul 24 12:06:41 CEST 2015


Hi Mark,
thanks for clarifying this part of my question!
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Mark Waddingham
Gesendet: Freitag, 24. Juli 2015 11:53
An: How to use LiveCode <use-livecode at lists.runrev.com>
Betreff: Re: Best practise for a quiz control?

> I am not sure, what my loop will be doing, while I opened modal the 
> answer window? Will the loop wait for the user answer in the modal 
> window in both above cases, or is the modal window completely 
> independent from the loop and the loop runs on? How can I hold my loop 
> waiting for the user action in the modal window?

When you 'modal' a stack, the modal command will block the current script
until the dialog closes. (e.g. You have an OK / Cancel button which do
'close this stack').

Note that messages *are* dispatched whilst this blocking occurs - otherwise
events wouldn't get processed so you wouldn't have any user interaction.

--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list