Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to add codes to methods at runtime?
Message
From
15/09/2004 11:05:55
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
15/09/2004 10:54:50
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00942377
Message ID:
00942423
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform