Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program stuck on Read Events
Message
De
28/08/2008 15:58:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/08/2008 10:37:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01342556
Message ID:
01342803
Vues:
12
>Hi. I call a screen followed by a Read Events. When I quit the screen, debug shows me that the cursor is sitting on Read Events. How do I get the cursor to continue?
>
>Thanks, Randy

That's the whole idea of this command - to get "stuck on" READ EVENTS, and continue processing user input.

Your main program should have three parts:

1. Setup code
2. Your main loop - this is the single command, READ EVENTS!
3. Cleanup code, that runs when the user quits the application.

You break out of READ EVENTS with the command CLEAR EVENTS; typically, this would be invoked from the "File | Quit" menu command.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform