In this sample, I press enter o double click but does not edit.
- Code: Select all Expand view
- #include "FiveWin.Ch"
#include "ord.ch"
#include "xbrowse.ch"
REQUEST DBFCDX
//----------------------------------------------------------------------------//
function Main()
local oWnd, oBrw
USE CUSTOMER NEW ALIAS CUSTOMER
GO TOP
cAlias := Alias()
DEFINE WINDOW oWnd
@ 0,0 XBROWSE oBrw OF oWnd AUTOCOLS ALIAS "CUSTOMER" CELL LINES FASTEDIT
oBrw:lFastEdit := .t.
oBrw:SetRDD()
oBrw:CreateFromCode()
oWnd:oClient := oBrw
ACTIVATE WINDOW oWnd MAXIMIZED
DbCloseAll()
return nil
//----------------------------------------------------------------------------//
Any clue?. Thank you.