Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want MESSAGEBOX to time out.
Message
From
01/07/1998 11:20:28
 
 
To
26/06/1998 13:54:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111994
Message ID:
00113401
Views:
23
>I want to display to the user a MESSAGEBOX with
>YES and NO. I want this MESSAGEBOX to time out.
>any ideas?

This small example will illustrate the simplest solution:
1. Create a form with commandbutton and timer (Timer.Interval=5000, Timer.Enabled=.F.).
2. Commandbutton.Click event
thisform.timer1.enabled=.t.
=messagebox("ok")
thisform.timer1.enabled=.f.
3. Timer.Timer event
keyboard '{ENTER}' && you could also consider ESCAPE or Hot keys (Y/N) here
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform