Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help about grid
Message
 
To
30/11/2004 04:24:24
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00965638
Message ID:
00965639
Views:
9
>hi all
>i have a grid with 4 columns and 7 rows. all of cells are textbox.
>i want when i exit from colum4 the cursor go to next row and colum2.
>i do some work but i am not satisfied.
>can anyone help me?
>thanks

What about in LostFocus() Event of the TextBox in Column4 to put:
  SKIP IN SELECT (this.Parent.Parent.RecordSource)
  IF .NOT. EOF(this.Parent.Parent.RecordSource)
     thisform.Grid1.Column2.SetFocus()
  ELSE
     SKIP -1 IN SELECT (this.Parent.Parent.RecordSource)
  ENDIF
The code above is Not tested
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform