Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want MESSAGEBOX to time out.
Message
De
01/07/1998 11:20:28
 
 
À
26/06/1998 13:54:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111994
Message ID:
00113401
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform