Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadMethod syntax
Message
 
 
À
16/12/1998 10:12:45
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00168044
Message ID:
00168139
Vues:
30
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform