Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard {enter}
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331438
Message ID:
01331440
Views:
7
>hi, i have created a commandbutton having Keyboard {Enter} in the click property . But each time i click on the commandbutton, the cursor does not move to next text box. It suppose to work as if i press the Enter key on the keyboard. I wonder what is missing. Thanks

I think you should use the setfocus() method of the textbox you want to move to rather than KEYBOARDing to it.

ie..

thisform.mytextbox.setfocus()
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform