Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving down in a grid without using DOWNARROW
Message
From
19/07/2000 06:00:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/07/2000 05:12:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394228
Message ID:
00394232
Views:
12
>i have a grid with 5 columns. I am on the first record and i move with ENTER until column5 and when i press ENTER again i want to go to the first column on the next record of the grid, not on the first column of the actual record.
>I try to put in the valid event of column5.text1 SKIP, but it not working.
>I try to put in the lostfocus event of column5.text1 thisform.command1.setfocus and in the command1.gotfocus SKIP and thisform.grid1.setfocus but it's skiping 2 record !!!
>
>Please HELP MEEEEEEEEEEEE !!!!


This is the simpliest I think :
*Grid.Beforerowcolchange
LPARAMETERS nColIndex
if nColIndex = this.Columncount and lastkey()=13
 keyboard "{DNArrow}"
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform