hi,
i have Set EDIT_NONE and use oWnd:bKeyDown to react on VK_RETURN
this work fine but Cursor in XBROWSE is move to "right" and i want "down" ... how :?:
i have Set EDIT_NONE and use oWnd:bKeyDown to react on VK_RETURN
oBrw:nEditTypes := EDIT_NONE
oWnd:bKeyDown := { | nKey, nFlag | DoBrowseKey( nKey, nFlag, oWnd, oGet, oBar, oBrw, aHead ) }STATIC PROCEDURE DoBrowseKey( nKey, nFlag, oWnd, oGet, oBar, oBrw , aHead)
DEFAULT aHead := {}
DO CASE
CASE nKey = VK_ESCAPE
oWnd:End()
CASE nKey = VK_RETURN
IF EMPTY(aHead)
oBrw:EditSource( .F., Struc2String( ALIAS() ) )
ELSE
oBrw:EditSource( .F., Struc2String( aHead ) )
ENDIFgreeting,
Jimmy
Jimmy