Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ENTER (if you dare!!!)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01161171
Message ID:
01161197
Views:
16
I added that, with the same results. When I press the Enter key when in the txtDrugFilter textbox, the grdProfile blinks and the focus is regained in the txtbox.

Let me go check the behavior of the form in general to be sure there is not some code there causing this behavior.

Thanks

>Tommy,
>
>Add a nodefault to the code so that the default handling of the enter key will not be processed.
>
>
>CASE nKeyCode = 13		&& Enter
>     nodefault
>     THISFORM.grdProfile.SETFOCUS
>     Thisform.Refresh
>
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform