Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I Determine Grid column
Message
 
À
03/01/2002 16:48:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00600488
Message ID:
00600507
Vues:
14
>Nick,
>
>How about something like this in the keypress event of the textbox:
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF INLIST( nKeyCode, 9, 13 )
> This.Parent.Parent.Column1.SetFocus()
> NODEFAULT
>ENDIF
>
>Or you could try this:
>thisform.grid1.activatecell(thisform.grid1.activerow,1)
>
>Greg
>
>
>>How do I determine when a particular column is highlighted on a row in a grid. For example, I am trying to have my cursor in grid move down a row, if it is at the end of the column for a row (column 4). I want to have the cursor move automatically to next row, column1 if the user hits enter or tab.
>>
>>
>>Thanks
>>Nick Patel


Thanks for answering. Would I try this code in my last column (column4)?

thanks
nick patel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform