>In a project to move a large (204 "screens") to VFP 6.0 SP3 we are doing the first pass with a "conversion" tool. The screens in 2.6 used lots of OBJNUM(). This function call is "backward compatible" according to Microsoft. What that seems to mean is that instances of calls to OBJNUM() don't blow up, but just dont do what the old OBJNUM(0) did. _CUROBJ is the same way. It does not blow up, but if you set it to some saved OBJNUM() call, you get NOTHING.
>
>I suppose that is beter than a GPF but I need to be able to substitute something for OBJNUM() calls and _CUROBJ assigns that works and can easily replace the old code.
>
>I think I am on a possible track, but before I reinvent the wheel, does anyone else have something they would be willing to share?
>
Hi Weldon,
Ah, your other post becomes clearer now. Now if you're doing something other than described below, let me know.
Basically OBJNUM(), and _CUROBJ where used to control the movement of the cursor through @...GET, @...EDIT. No need to re-invent the wheel. Just use the desired object's SetFocus method.
George
Ubi caritas et amor, deus ibi est