Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETPEM() in VFP 6.0 is NOT SUPORTED IN RUN TIME
Message
De
05/10/1998 14:58:34
 
 
À
05/10/1998 02:34:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00143709
Message ID:
00143979
Vues:
64
>
>I didn't know GETPEM() was broken for VFP 6.0 at runtime. Until there is a new release with it fixed, I suggest you use a utility I wrote as a work around. It's even designed to automatically use GETPEM() when it does work. It simply tests for an empty string, and then opens the related VCX automatically and returns the method code.
>
>I posted it at http://www.classx.com/tools/getmethod.prg


I actually found a better work around than using getmethod.prg. Simply pass the class name. So instead of GETPEM(object,method), just use GETPEM(object.class,method) and it works at runtime in VFP 6.0. Appears that the design time comment in the docs is an error also. I plan to remove getmethod.prg from my web site since it's really not needed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform