Non-modal message and take down

Sarah Reichelt sarahr at genesearch.com.au
Tue Jun 21 00:41:13 EDT 2005


> What's the best way to put up a non-modal message similar to an  
> answer "..."
> without an OK button and take it down when the processing completes?
>
> Example:
>
> Message goes up: "I'm doing something. Please Wait..." (no OK button)
> (processing continues - non modal) (processing completes) (message  
> goes away
> on event).
>
> Is there some feature of answer as in - answer "I'm doing  
> something, please
> wait..." with "" (but lets processing continue) that can be taken  
> down with
> an event  message rather than a user initiated keystroke or mouse  
> event?

You will need to make your own sub-stack to do this. It is often  
easier to have the sub-stack do the actual processing. Open it up,  
show your message, start the processing with some sort of progress  
indicator if necessary. Then when the process is finished, close that  
stack.

If you really want people to wait, make the stack modal so they can't  
do anything else. Otherwise you can make it modeless.

Cheers,
Sarah



More information about the use-livecode mailing list