Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid opening a form with the wrong record ?
Message
 
 
À
19/07/2001 06:28:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00532330
Message ID:
00532641
Vues:
9
Glenn,

Nope, the form Init fires after all of the controls have instantiated and before anything has painted on the screen. If you put the code in the Activate() you'd need to add code to make sure it only happens the first time and not every time the form regains focus.

>Shouldn't he do this kind of thing in the first activate event? Drew Speedie wrote an article in FPA a couple of years ago about forms instanciation and coined "LISAG". Hed should probably check out the article.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform