Hi,
Sorry. AFAIK, there is no easy way to retrieve the functionality of _curobj.
You must code it specifically in VFP-speak.
Best regards,
Tom
Tom,
You know, what my problem is that I am trying to do this ...
_curobj = OBJNUM(variable name)
Now, in VFP, the way I found to set focus is to use the variable name
explicitly or use the tab index. But, tab index does not have to be the
same as objnum(variable name) value. You see, most of my converted code
has the above mentioned statement. In order for me to be more productive,
I really need a way to convert my objnum() value to tab index without
junping through a lot of hoops.
Any suggestions ...
Quote:
> Hi,
> There is no direct analogy in VFP. In VFP you must use the Setfocus
Method
> of the object and give a specific object name.
> Best regards,
> Tom
> I just finished converting a foxpro app from 2.5 to VFP 5.0. I cannot
> assign a value of _curobj explicitly. Does anybody know of a way to do
> that. The conversion was done functionally...<<