>
>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.prgI 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.