![Smile :-)](./images/smilies/icon_smile.gif)
Any ideas?
EMG
Code: Select all
......
oCol:bOnPostEdit = { | oCol, xVal, nKey | If( nKey == VK_RETURN, (....,oBrw:GoToCol( oCol )) ,) }
.....
Code: Select all
LOCAL nColPos := 1
...
...
WITH OBJECT oBrw
FOR I := 1 TO 5 // total defined columns
:aCols[I]:nEditType := EDIT_GET
:aCols[I]:bOnPostEdit := { | oCol, xVal, nKey | ;
nColPos := oBrw:SelectedCol():nCreationOrder, ;
oBrw:SelectCol(nColPos) }
NEXT
oBrw:CreateFromCode()
END
sample xbposte-prg is showing the different tests using oBrw:nMoveTypeHave you tried with lEnterKey2Edit := .T. and/or nMoveType := 5 ?
Code: Select all
oBrw:bKeyChar := { |n| If( n == VK_RETURN, 0, nil ) }
Code: Select all
o:nEditType := 0