Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good reason to never use form methods
Message
De
26/09/2000 16:46:48
 
 
À
26/09/2000 14:48:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00415216
Message ID:
00421207
Vues:
20
>I have one question for you. How did you handle things like "THISFORM...." reference from the prg file? Didn't you get and error message such as "Thisform can only be used within a method...."? or are you capturing the form object to a variable and reference that varible?

Yes, you will have to modify the code here. One option is to pass THISFORM to every function called from the form.

One point, is it possible that this code did not belong in the form anyways? Just thinking in tiers here. Maybe instead of putting code in PRGs, how about in a non-visual object's methods?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform