Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keystroke in Grid
Message
From
23/03/1999 15:56:14
 
 
To
23/03/1999 15:40:31
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00201165
Message ID:
00201179
Views:
19
>I have a grid with one column, the CurrentControl of the column is a container which contains 3 text boxes horizontally, txtbox1, txtbox2,txtbox3. If down arrow is pressed in txtbox1, I need to move down one row in grid rather then move to txtbox2 as it does now. What is best way to accomplish this ?
>
>Thanks Clark !!

The best way to move one row down is to move pointer in grid.recordsource, i.e. your textbox.keypress event may fire:
IF nKeycode=24 && down arrow
Select mycursor && recordsource
Skip
Thisform.Grid.Refresh
ENDIF
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform