Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to bypass the valid method
Message
From
28/12/2009 05:03:01
 
 
To
28/12/2009 04:57:28
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01440825
Message ID:
01440830
Views:
63
Try to put the code in the keypress event of the textboxes in the grid.
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = 27	&& Escape
	thisform.text4.setfocus()
ENDIF
>i have a grid control on my form
>
>if i press escape in grid i want to focus to a textbox
>
>but escape not working
>
>

>grid.keypress
>
>thisform.text4.setfocus
>return
>
>

>
>warm regards,
>mk.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform