Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want MESSAGEBOX to time out.
Message
 
To
26/06/1998 13:54:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111994
Message ID:
00112140
Views:
29
Hi Robert,

I would rather that you stick with the default MessageBoxes, than creating your own forms. You could achieve the functionality you are looking for by using a timer.

Here is an example how you can actieve this. I use a timer and a commandbutton on the form...
thisform.MyTimer.Interval = 2000

*-- Form.MyTimer.Timer()
KEYBOARD '{ENTER}'

*-- Form.cmdTest.Click()
thisform.MyTimer.Enabled = .T.
=MessageBox('Test')
thisform.MyTimer.Enabled = .F.
You can extend this by writing a global function for displaying messages which would create a timer for each message and then destroy it or control its enabling/disabling.

>I want to display to the user a MESSAGEBOX with
>YES and NO. I want this MESSAGEBOX to time out.
>any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform