Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRID.setfocus ??
Message
De
14/05/1999 13:56:23
 
 
À
14/05/1999 02:13:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00218904
Message ID:
00219129
Vues:
32
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 ????
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform