Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid issue... SKIPping and ActivateCell
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00957884
Message ID:
00961426
Views:
16
>>Keeping your objective of moving the focus to the next row when tabbed out of the last column in mind, the following code works great:
>>(In the KeyPress event of the text box of the last column)
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>IF m.nKeyCode=9 ;
>>THEN
>>	KEYBOARD '{DNARROW}' PLAIN CLEAR
>>ENDIF
>>
>>This will move the focus to the first column of the next row when you tab out the last column. Then you don't have to worry about record number at all.

>Worked like a charm. Take the rest of the day off.
>
>thx.
>
>

You are welcome! I am glad it worked fine! I've been on a vacation for a week thus the delay.
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Reply
Map
View

Click here to load this message in the networking platform