Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form calls function in design mode
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01395196
Message ID:
01395587
Vues:
58
Naomi,

Perhaps you are right, however, he specifically mentions the IDE. I assumed he meant the VFP IDE. " It only happens after I run the program, exit it, and then try to open the form in the IDE." I guess I misunderstood what he was talking about.

I sure wish there was a way to run code when a form or a class is opened in design mode... That would be fantastic.

Steve

I run the program, open the form, the date is populated, everything is just peachy. Then I exit the program and try to open the form to make some changes. I get an error because when the form is opened, it calls the function and the function uses a constant that is not defined at design time. If I just open VFP and open the form, this does not happen. It only happens after I run the program, exit it, and then try to open the form in the IDE. The app seems to be exiting properly - never had a problem with dangling references or anything like that - but I suppose it could be something like that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform