Hola.
TEngo definido mi xbrowse con array asi:
Y cuando ejecuto y quiero entrar a editar la celda me tira este error:
Que le pasa?
gracias.
TEngo definido mi xbrowse con array asi:
::oBrw:= TXBROWSE():new(oDlg)
::cargarTemporales()
WITH OBJECT ::oBrw
:bClrStd := { || If( ::oBrw:KeyNo() % 2 == 0, ;
{ CLR_BLACK, RGB(191, 219, 255) }, ;
{ CLR_BLACK, RGB(204, 255, 255) } ) }
:bClrSel := {|| { negro, nueve } }
:nMarqueeStyle := 5
:nRowHeight := 19
:lRecordSelector := .F.
:lColDividerComplete := .f.
:nRowDividerStyle:= 4
:nStretchCol := STRETCHCOL_LAST
:nColDividerStyle:= 4
:lfastedit:= .T.
WITH object :aCols[1]
:ceditPicture:= "99/99/9999"
:nHeadStrAlign:= AL_CENTER
:oheaderfont:= oFont1
:nWidth:= 120
END with
WITH object :aCols[2]
:ceditPicture:= "99/99/99"
:nHeadStrAlign:= AL_CENTER
:ndataStrAlign:= AL_LEFT
:oheaderfont:= oFont1
:nWidth:= 120
END with
WITH object :aCols[3]
:hide()
END WITH
END WITH
AEval(::oBrw:aCols,{|o| o:bRClickHeader := {|| NIL } })
AEval(::oBrw:aCols, { |oCol| oCol:nEditType := EDIT_GET } )
::oBrw:createfromresource(102)
...
METHOD cargarTemporales() CLASS T64
LOCAL nItem
FOR nItem:= 1 TO 10
AAdd(::aTemporales, {cTod(""), cTod(""), 0})
NEXT nItem
::oBrw:setarray(::Atemporales)
::oBrw:refresh()
RETURN (NIL)Y cuando ejecuto y quiero entrar a editar la celda me tira este error:
Error description: Error BASE/1122 Error de argumento: TRANSFORM
Args:
[ 1] = U
[ 2] = C 99/99/99
Stack Calls
===========
Called from: => TRANSFORM(0)
Called from: .\source\classes\TGET.PRG => TGET:NEW(250)
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:EDIT(9953)
Que le pasa?
gracias.