Timed MsgInfo

Timed MsgInfo

Postby plantenkennis » Thu Mar 15, 2018 7: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
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: Timed MsgInfo

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Timed MsgInfo

Postby plantenkennis » Fri Mar 23, 2018 9: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
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: Timed MsgInfo

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Timed MsgInfo

Postby plantenkennis » Fri Mar 23, 2018 2: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
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 12 guests