Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveControl Property
Message
 
 
To
23/02/2000 14:46:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00336227
Message ID:
00336228
Views:
15
.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
Previous
Reply
Map
View

Click here to load this message in the networking platform