.ActiveControl tells you which control currently has focus. Try using .SetFocus() in the place of _CUROBJ.
Thisform.txtLastName.SetFocus()
Hope this is what you are looking for.
>Can anybody help?
>
>I used to use _CUROBJ to move the cursor to a different object on the screen in FoxPro for DOS. In VFP help, it tells me to use the ActiveControl property. The help info doesn't help me too much. Or maybe I just don't understand it. Can anyone tell me how to use ActiveControl with some examples or is there another way to move the cursor to a different object on the screen.
>I tried RETURN command but it will only move it to the previous or next object. I want to move it farther than that.
>
>Much Thanks...
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein
Bruce Allen
NTX Data