Hi i have a xbrowse like this:
oBrw := TXBrowse():New( oDlg )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:CreateFromResource( 109 )
oBrw:nColDividerStyle := 5 //LINESTYLE_BLACK // COLUNAS
oBrw:lColDividerComplete := .T.
oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCOL_LAST
oCol := oBrw:AddCol()
oCol:bStrData := { || ARQEMP->SIGLA }
oCol:cHeader := "SIGLA"
oCol := oBrw:AddCol()
oCol:bStrData := { || ARQEMP->FANTASIA }
oCol:cHeader := "FANTASIA"
oCol := oBrw:AddCol()
oCol:bStrData := { || Substr(ARQEMP->CIDADE,1,28) }
oCol:cHeader := "CIDADE"
oCol := oBrw:AddCol()
oCol:bStrData := { || ARQEMP->UF }
oCol:cHeader := "UF"
But they display just the same records in all browser area. If i put Sele ARQEMP and Set Order to 1 and Go Top before this definitions runs ok, but i use Dabase object how i set txbrowse alias with a Database object and how i link the columns? oCol:bStrData := { || oArqEmp:SIGLA } This is correct?
Thanks in advance.