Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress in Grid
Message
 
 
To
25/06/2008 14:52:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01326727
Message ID:
01326729
Views:
20
>Dear Experts
>
>There is a grid on form with allowaddnew=.t.
>I have following codes to populate
>
>select table1
>index on sno to table11
>
>thisform.grid1.recordsource="Table1"
>thisform.grid1.column1.controlsource="Table1.sno"
>thisform.grid1.column2.controlsource="Table1.name"
>thisform.grid1.column1.setfocus
>thisform.refresh
>
>
>I want to stop dnarrow in grid.
>I want to use only Enter key to go to next row.
>
>Please help

Just bind KeyPress event of all textboxes to generic method and disable DnArrow with NODEFAULT.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform