How to display a message for a period of time.

How to display a message for a period of time.

Postby HunterEC » Tue Aug 31, 2010 6:27 pm

Guys:

How can I display a message to the end user for n seconds and then go off automatically ? Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: How to display a message for a period of time.

Postby Jack » Tue Aug 31, 2010 8: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
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: How to display a message for a period of time.

Postby HunterEC » Wed Sep 01, 2010 6:02 am

Jack:

Thank you very much ! :D
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: How to display a message for a period of time.

Postby Otto » Wed Sep 01, 2010 6: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: How to display a message for a period of time.

Postby HunterEC » Wed Sep 01, 2010 4:55 pm

Otto:

Thank you very much ! As always, very helpful. 8)
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 91 guests