Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETPEM() in VFP 6.0 is NOT SUPORTED IN RUN TIME
Message
From
05/10/1998 14:58:34
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00143709
Message ID:
00143979
Views:
62
>
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform