Hello all,
xBrowse dont show any data.
What i do wrong?
oArqPrev:SetOrder("CODIGO")
oArqPrev:GoTop()
oBrw := TXBrowse():New( oDlg )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:CreateFromResource( 4001 )
oCol := oBrw:AddCol()
oCol:bStrData := { || ARQPREV->CODIGO}
oCol:cHeader := "CÓDIGO"
oCol := oBrw:AddCol()
oCol:bStrData := { || DTOC(ARQPREV->DATALAN)}
oCol:cHeader := "DT.LAN."
oCol := oBrw:AddCol()
oCol:bStrData := { || ARQPREV->DESCON}
oCol:cHeader := "CONTA"
oCol := oBrw:AddCol()
oCol:bStrData := { || Substr(ARQPREV->NOMEFOR,1,28)}
oCol:cHeader := "FORNECEDOR"
oCol := oBrw:AddCol()
oCol:bStrData := { || DTOC(ARQPREV->VENCIMENTO)}
oCol:cHeader := "VENCTO"
oCol := oBrw:AddCol()
oCol:bStrData := { || Tran(ARQPREV->VALOR,"@e 999,999.99")}
oCol:cHeader := "VALOR"
oBrw:nColDividerStyle := LINESTYLE_BLACK
oBrw:lColDividerComplete := .t.
oBrw:l2007:=.t.
oBrw:bChange := { || oRadio1:Refresh(), oBrw:Refresh() }
oBrw:SetRdd()
Shows me blank.
thanks in advance.