Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help about grid
Message
 
À
30/11/2004 04:24:24
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00965638
Message ID:
00965639
Vues:
8
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform