Page 1 of 1

MsgWait()

PostPosted: Sat Mar 28, 2009 1:46 pm
by Raymond Fischbach
Hello,

I want to display a temporary message in my application. I found the function MsgWait().
I use the following code:

Code: Select all  Expand view
MsgWait("Ouverture des fichiers...","Fmesure",2)


The problem is that the application hangs after the message has been displayed.

Any clue?

Many thanks

Re: MsgWait()

PostPosted: Sat Mar 28, 2009 6:05 pm
by Richard Chidiak
Raymond

Try a sysrefresh() after the call to msgwait or better use msgrun

this is a sample

MsgRun( "Synchro en Cours...", "Veuillez Patienter", { || SYNCRO(OWND),SYSREFRESH() } )

Hth

Richard

Re: MsgWait()

PostPosted: Sat Mar 28, 2009 8:54 pm
by Raymond Fischbach
Hello Richard,

Thank you for the hint but none of them work.

I first tried with MsgRun() but I get an unresolved external symbol: HB_FUN_SYNCRO

Then I tried with SysRefresh() but the application seems to collapse after the message is displayed and the message window is closed.

Re: MsgWait()

PostPosted: Sat Mar 28, 2009 9:29 pm
by Raymond Fischbach
Hello Richard,

Sorry, after I posted my reply, I realised that SYNCRO() was your function.
I will make more tests and will come back later with my results.

Regards,
Raymond