Non-modal message and take down
Jim Bufalini
YourSignup at Yahoo.com
Tue Jun 21 07:55:16 EDT 2005
Thanks Sara,
In another scripting language I used to use they had the equivalent of:
answer "Please wait..." with up (put message up)
answer down 1 (take down first message you put up - if no number then last
message up)
or
answer "Please wait..." with XX ticks (put message up for XX ticks)
The user was modal but processing continued. It's such a common thing to do,
I would have thought it would be "built in" to the language.
Jim
-----Original Message-----
From: Sarah Reichelt [mailto:sarahr at genesearch.com.au]
Sent: Monday, June 20, 2005 6:41 PM
To: YourSignup at Yahoo.com; How to use Revolution
Subject: Re: Non-modal message and take down
> 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