Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress in Grid
Message
 
 
À
25/06/2008 14:52:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01326727
Message ID:
01326729
Vues:
21
>Dear Experts
>
>There is a grid on form with allowaddnew=.t.
>I have following codes to populate
>
>select table1
>index on sno to table11
>
>thisform.grid1.recordsource="Table1"
>thisform.grid1.column1.controlsource="Table1.sno"
>thisform.grid1.column2.controlsource="Table1.name"
>thisform.grid1.column1.setfocus
>thisform.refresh
>
>
>I want to stop dnarrow in grid.
>I want to use only Enter key to go to next row.
>
>Please help

Just bind KeyPress event of all textboxes to generic method and disable DnArrow with NODEFAULT.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform