Page 1 of 1

Timed MsgInfo

Posted: Thu Mar 15, 2018 7:01 pm
by plantenkennis
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.

Re: Timed MsgInfo

Posted: Wed Mar 21, 2018 11:29 am
by Antonio Linares
René,

This seems to be the way to go:

https://stackoverflow.com/questions/378 ... ery-10-min

We are going to implement it for FiveMac

Re: Timed MsgInfo

Posted: Fri Mar 23, 2018 9:07 am
by plantenkennis
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?

Re: Timed MsgInfo

Posted: Fri Mar 23, 2018 10:35 am
by Antonio Linares
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

Re: Timed MsgInfo

Posted: Fri Mar 23, 2018 2:08 pm
by plantenkennis
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.