Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement