FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Timed MsgInfo
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Timed MsgInfo
Posted: Thu Mar 15, 2018 07:01 PM

Hello,
After a long absence I finally have some time to work on my program again. I have the following questions, each one I will put in a new topic.

Can I create a sort of timed msginfo window. Something like TimedMsg('this is a message', 2) where 2 is the time in seconds that the msgbox automaticaly closes.

Kind regards,



René Koot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Timed MsgInfo
Posted: Wed Mar 21, 2018 11:29 AM
René,

This seems to be the way to go:

https://stackoverflow.com/questions/37875151/how-to-close-an-alert-after-some-time-and-repeat-it-every-10-min

We are going to implement it for FiveMac
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Re: Timed MsgInfo
Posted: Fri Mar 23, 2018 09:07 AM

Hello Antonio,

The example you give has two buttons (yes and no). What I meen is a window without any buttons, but just with a message. The window must close automatically after the given seconds and not appear anymore. Is that possible?

Kind regards,



René Koot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Timed MsgInfo
Posted: Fri Mar 23, 2018 10:35 AM

René,

New function MsgWait( cMsg, [ cTitle ], nSeconds ) already implemented

I have emailed you the new FiveMac libs

Please try it and let me know if it works fine for you :-)

many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Re: Timed MsgInfo
Posted: Fri Mar 23, 2018 02:08 PM

Hello Antonio,

Thank you very much, this is exactly what I meant. This will be a function that I will use very much for simple messages to the users. Then they don't have to take any action on it.

Kind regards,



René Koot

Continue the discussion