SitesMasstec
Programmer
Dear colleagues:
I have this in a Form with a Grid:
I am able to move through rows using the mouse and with arrow keys. To select a row I must Double Click that row. In the DblClick event on Grid1 object I have:
I would like to continue to have the option of using arrows keys to move up and down the rows (as it is possible now). But I would like my application to accept also the <enter> key to select a row, besides continuing to accept DblClick. Is it possible?
Thank you,
SitesMasstec
I have this in a Form with a Grid:
I am able to move through rows using the mouse and with arrow keys. To select a row I must Double Click that row. In the DblClick event on Grid1 object I have:
Code:
LOCAL cCode
cCode = itensest.wecodi
IF NOT ISNULL(This)
EsteCodigo=cCode
ELSE
EsteCodigo=0
ENDIF
thisform.Release
I would like to continue to have the option of using arrows keys to move up and down the rows (as it is possible now). But I would like my application to accept also the <enter> key to select a row, besides continuing to accept DblClick. Is it possible?
Thank you,
SitesMasstec