FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to display a message for a period of time.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
How to display a message for a period of time.
Posted: Tue Aug 31, 2010 06:27 PM

Guys:

How can I display a message to the end user for n seconds and then go off automatically ? Thank you.

Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: How to display a message for a period of time.
Posted: Tue Aug 31, 2010 08:09 PM

I think you have the MsgWait function :

MsgWait("Info text","Title",delay)

MsgWait("You will be redirected to ......","Attention",3) && display 3 seconds

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: How to display a message for a period of time.
Posted: Wed Sep 01, 2010 06:02 AM

Jack:

Thank you very much ! :D

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: How to display a message for a period of time.
Posted: Wed Sep 01, 2010 06:50 AM

You can also look at: MsgRun +

MsgSplash( cImage, nSeconds, bAction ). cImage can be file or resource. If bAction is specified, the codeblock is evaluated with oImage as parameter and Splash continues till the bAction is executed or expiry of nSeconds whicheve is later.

Best regards,
Otto

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: How to display a message for a period of time.
Posted: Wed Sep 01, 2010 04:55 PM

Otto:

Thank you very much ! As always, very helpful. 8)

Continue the discussion