Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I store and run 'Object' code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00486667
Message ID:
00487536
Vues:
7
>Ko, thanks for your reply and ,until VFP7 comes, I guess I'll have alook at what
>Fred is suggesting.
>
>Onr other matter that I've had problems with. I was experimenting with above and running object code in a .FXp file. However, if I had ThisForm.Refresh (or any other code that referred to a form)in the code, it would not allow it. Do you know if there is a way round this ?
>
>Regards,
>
>Gerard


Yes,

You cannot reference thisform or this when you are not in the form or the object itself.
What i normally do is submit the form reference to the function.
Like:
Do MyFxp with thisform


MyFxp.prg:
LParameter oThisForm
Now you can reference the form with oThisForm
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform