Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question on Read/Clear events
Message
De
15/09/1999 08:20:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00264859
Message ID:
00264864
Vues:
22
>I'm new to VFP. This will probably seem like a silly question. I'm stuck on the read/clear events issue. My program does a "Do Form" immediately followed by a "Read Events". I have a “Clear Events” in the UnLoad event procedure. In the form I have a Command Button that when clicked does a “Do Form” immediately followed by a “Read Events”. It also has a “Clear Events” in the UnLoad event procedure. Can these “Read Events” be nested like this? Does a “Clear Events” clear all pending events or just from the most previous “Read Events”? If they can’t be nested then how can you execute a form from within a form?
>
>Thanks.


"Read events" or "clear events" doesn't care if there is a coressponding "clear events", "read events". IOW there is nothing to nest. They start and stop event processing. Normally "read events" and "clear events" is used once per app. :
* Main.prg
*preparations
* do menu mymenu.mpr
* or do form mycontrollingform 
* only point (ie:menu.exit) used as exit has clear events

read events && Everything is ready start processing

*Cleanup code
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform