For Programmers: Free Programming Magazines  


Home > Archive > Clarion > July 2007 > Please Wait message









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Please Wait message
herb.wexler@gmail.com

2007-07-24, 6:55 pm

I have a time intensive routine. While it is running I want to display
'Please Wait...' and maybe some details of each record. Is there a
built in procedure similar to Message that does not wait for user
response?

Markzma

2007-07-26, 7:55 am

Hi Herb,

You could, instead of going to the routine straight away, show a
Window (without any buttons) and a variable string (Local variable,
string 50 e.g.) on it. On opening the Window you set the string to
"Please Wait...", then have the routine go it's way.
Inside the routine, e.g. after each processed record, you have the
string show a different text and/or some details on the record that's
being processed.

On OpenWindow, put:

ExampleString = 'Please Wait...'
display()

Do YourRoutine

then, inside the routine, on each record that's being processed:

ExampleString = 'Please Wait... Record being processed: '&
REC:detail
display()

At the end you close the window like this:

Post(Event:CloseWindow)


In some app i made, i put in a Progress bar on a Window with a
variable string underneath showing the state of progress. But that's
just a matter of taste, i guess ;).


> I have a time intensive routine. While it is running I want to display
> 'Please Wait...' and maybe some details of each record. Is there a
> built in procedure similar to Message that does not wait for user
> response?



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com