Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I don't why???
Message
From
20/06/1998 01:36:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
I don't why???
Miscellaneous
Thread ID:
00110152
Message ID:
00110152
Views:
63
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???
Next
Reply
Map
View

Click here to load this message in the networking platform