Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to store form related procedures
Message
De
29/07/1999 09:01:44
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00247602
Message ID:
00247617
Vues:
36
Marvin,

>I have a form with a procedure that needs to be called from multiple places within the same form. If I place the procedure in a procedure file I can no longer make "thisform" type refrences. Where can I store this procedure so that it is considered part of the form?

Besides of adding a method, You could send a reference to the form along with the functioncall.


Like:

DO myfunction WITH param1, param2, THISFORM

function MyForm
lparameters param1, param2, oForm
....
Do some stuff
....
oForm.refresh()
oform.property = value
return

Good luck,

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform