I am using a Grid in which i am editing values cell by cell using VALID. This is the grid definition
Code: Select all
DEFINE GRID Grid_1
PARENT NewFields
ROW 50
COL 10
WIDTH 770
HEIGHT 470
WIDTHS aWidths
HEADERS aHeaders
ITEMS aItems
COLUMNVALID aValid
COLUMNWHEN aColumnWhen
INPLACEEDIT ainPlaceEdit
ON INPLACEEDITEVENT ProcGridInplaceEditEvent()
TOOLTIP ''
NOTABSTOP .F.
PAINTDOUBLEBUFFER .T.
VISIBLE .T.
SHOWHEADERS .T.
NOLINES .F.
READONLY .F.
ALLOWEDIT .T.
CELLNAVIGATION .T.
END GRIDCode: Select all
*-----------------------------------------
FUNCTION ProcGridInplaceEditEvent()
*-----------------------------------------
DO CASE
CASE This.IsInplaceEditEventFinish == .T.
_PushKey( VK_RETURN )
END CASE Anyone has any idea of how to deal with it? Maybe i am going completely the wrong way with the ON InplaceEditEvent? Thanks in advance