Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting records from a grid
Message
De
26/11/2004 08:58:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00964894
Message ID:
00964897
Vues:
9
Hello,

if you turn grid's "AllowCellSelection" property to .F. you can use the Grid's KeyPress event

keypress event
lparamters nKeyCode, nShiftAltCtrl
IF nKeyCode = 13 && Enter key
THISFORM.retVal = yourCursor.yourKey
THISFORM.Release()
ENDIF

Form's Unload event
RETURN THIS.retVal


assuming your Form is a modal one.

Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform