Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form flashes briefly (read event prob?)
Message
De
09/05/1997 12:29:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00031377
Message ID:
00031532
Vues:
44
>>>Sorry about the upper(). I took your advice it did something.
>>>The form no longer gets ignored but the program itself does not continue after the form executes but seems to be hung up.
>>
>>you have to issue clear events, after read events to terminate the program.
>
>I am supposed to do form getname, then issue read event, then issue clear event,then do menu mymenu? It still seems caught in that infinite loop :(

Basically, VFP app should contain just one common READ EVENTS. Following is a sample of first prg module

*** set environment here
do mainmenu.mpr
read events
*** clean environment here

Your main menu should have 'Quit' option with CLEAR EVENTS command.
Also remember that modal form will 'stop' app until you close it.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform