Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can be read method code at runtime ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00292948
Message ID:
00292992
Vues:
23
>We have the following problem :-
>
>A form class defined in a .VCX is instantiated. This form contains an instance of a textbox class. The textbox instance has method code attached to it.
>
>We need to be able to access the textbox method code at runtime. However, GETPEM() seems to return the code from the textbox class rather than the instance of the textbox.
>
>Any ideas on how this can be achieved ?
>
>Thanks in advance.
>
>Jon.

Jon,

If you just need to access it, do you mean call it from somewhere? The syntax is: ThisForm.control.method()

For example, ThisForm.txtMyTextbox.Init()

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform