Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving to a new line in a grid
Message
De
24/05/2006 14:41:29
 
 
À
22/05/2006 10:17:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01123931
Message ID:
01124638
Vues:
10
Put this code in KeyPress of Grid column may be last column of Grid
if nKeyCode = 13 && Enter Key is Pressed
   local nRec,;
       cKeyNo
*
   select tbl && Record source table of Grid
   cKeyNo = tbl.key_no
   skip
   nRec = recno()
   if eof() or tbl.key_no != cKeyNo
      skip -1
      nRec = recno()
   endif
   thisform.grid1.column1.setfocus()
   select tbl
   go nRec
*
   nodefault
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform