Display progress

Dar Scott dsc at swcp.com
Sat Dec 14 14:55:01 EST 2002

On Saturday, December 14, 2002, at 11:13 AM, Barry Levine wrote:

> I have the handler in the openCard script. This can take anywhere from 
> four to eight seconds depending on the speed of the computer. I'd like 
> to display a small progess indicator
> I don't want the user to be able to click in the "main" window until 
> the app is ready, however.

Some ideas:

You can change the cursor or make an image visible during this period.

You can flushEvents at the end of openCard.  If openCard actually starts 
a send sequence for this period or you need to do waits with/for 
messages, you might need to screen mouse events with a front script.

Dar Scott

More information about the Use-livecode mailing list