Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadMethod syntax
Message
 
 
To
16/12/1998 10:12:45
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168044
Message ID:
00168139
Views:
23
Larry,

You can use GETPEM() to read methods up the class tree.

>Does the ReadMethod only work for methods belonging to the current object? If I am on an object, I can read the object's Init method by issuing...THIS.READMETHOD("Init"). If I try to read another method or put any kind of path (i.e."Thisform.ThatObject.Init") in the ReadMethod parameter it always returns a "not a property or method" message.
>Also, I would like to read the baseclass methods. If I can call the baseclass method by issuing a BASECLASS::METHOD statement, then I would think that the ReadMethod should be called by issuing THIS.READMETHOD("BASECLASS::METHOD").
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform