Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to get the inherited code from a class
Message
From
30/07/2003 06:22:35
 
 
To
29/07/2003 14:25:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00814590
Message ID:
00814841
Views:
11
Hi Ricardo,


> Does somebody know how to get the inherited code from a class?

On your builder, you must:
* put ClassLib and ParentClass on variables
* open VCX
USE (m.ClassLib) SHARED ALIAS myInheritLib NOUPDATE
* found inherited class
LOCATE FOR ObjName==m.ParentClass
* get inherit code
inheritCode=STREXTRACT(Methods,'PROCEDURE Init','ENDPROC',1,1)
* release
USE
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform