Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I don't why???
Message
De
20/06/1998 01:36:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
I don't why???
Divers
Thread ID:
00110152
Message ID:
00110152
Vues:
64
I have a simple FORM for search a customer record. It's inculed : one GRID1 && browse the database of customer file. one pageframe1...page1...text1 && input value for search in customer code no. ...page2...text1 && input value for search in customer name one button (cmd_ok) one button (cmd_cancel) There is the "KeyPress" event at "THISFORM.PAGEFRAME1.PAGE2.TEXT1" ********** LPARAMETERS nKeyCode, nShiftAltCtrl
IF LASTKEY()=13
SET ORDER TO 2
SEEK ALLT(THISFORM.PAGEFRAME1.PAGE2.TEXT1.Value)
IF RECNO(0) <> 0
GO RECNO(0)
ENDIF
THISFORM.GRID1.COLUMN2.SETFOCUS ENDIF
********** QUESTION : After i key in a words and press [ENTER], i can see the grid had show the right record for me. But my cursor stand on my PAGEFRAME1.PAGE2, not the row inside the grid. Why???
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform