Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to add codes to methods at runtime?
Message
De
15/09/2004 11:05:55
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
15/09/2004 10:54:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00942377
Message ID:
00942423
Vues:
28
Thank you Fabio,

I wish to do it without hack a form file..

>
>Is it possible to add codes to methods at runtime?
>

>
>Yes.
>
>Like you can define new Classes at runtime, you can update a class at runtime.
>
>- CLEAR CLASSLIB from memory
>- Open the VCX table with exclusive
>- option: set tablebuffer
>- locate the Class
>- clear the objCode
>- Change the Methods script
>- option : tableupdate
>- pack memo
>- close the table
>- COMPILE the vcx like a classlib
>
>same process with a PRG class
>
>A critical point is #INCLUDE .
>
>Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform