Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID.setfocus ??
Message
From
14/05/1999 13:56:23
 
 
To
14/05/1999 02:13:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00218904
Message ID:
00219129
Views:
31
thisform.grid1.column1.text1.setfocus()

>i had create a FORM for my client to searh a buyer record.
>there have a GRID1 ( as a browser to view buyer_no, comp_name )
>and have a TEXTBOX for input the code number to search.
>
>i had write something in TEXTBOX.KEYPRESS as below :
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF LASTKEY()=13
> SEEK THISFORM.TEXT1.Value
> THISFORM.GRID1.COLUMN1.TEXT1.SETFOCUS
>ENDIF
>
>finally.....after i input a buyer number, the record point in GRID1 was go to the right record, BUT the SETFOCUS to GRID1 haven't done.
>the cursor still inside in TEXT1 ??
>
>i had try to set - THISFORM.GRID1.COLUMN1.SETFOCUS
> - THISFORM.GRID1.SETFOCUS
>BUT same result ????
Previous
Reply
Map
View

Click here to load this message in the networking platform