Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShowWindow - As a Top-Level Form
Message
De
28/04/2000 12:12:15
 
 
À
28/04/2000 11:49:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00364470
Message ID:
00364523
Vues:
27
>What if your form have no menu, just a form with few buttons for quick data entry. When I added "Read Event" in the form's init() it made no different if I have it or not. Where exactly should I place the "Read Event" so it will work properly?
>
>Could this be done WITHOUT the following code added?
>
>*Startup.prg
>
>DO FORM C:\test\form1.scx
>Read Events
>
You should be able to place the READ EVENTS as you show above, then execute the CLEAR EVENTS in the form when the user clicks the "Exit"/"Quit"/"Close" button or whatever on the form to shut down the form. You'll need to account for the user clicking the form close (X) button to exit the form. This will fire the QueryUnload event in which you can invoke the CLEAR EVENTS.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform