Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to programmatically add code to method?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00774568
Message ID:
00774596
Vues:
7
This message has been marked as a message which has helped to the initial question of the thread.
>* this fails - read only
>getcopy.cmdOk.Click = "Thisform.Release"

Sergey is, of course, correct that you can't do what you're trying to do, but if you're writing a builder to add code at design time, instead of run time, you can use the WriteMethod() function.
GetCopy.cmdOK.WriteMethod("Click", "ThisForm.Release()")
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform