i have this
- Code: Select all Expand view
- WITH OBJECT oBrwConsu:= TXBrowse():New( oDlgMesas )
:nHeaderHeight := 25
:nRowHeight := 35
:nTop := 20
:nLeft := 300
:nBottom := 185
:nRight := 485
:nMarqueeStyle := MARQSTYLE_HIGHLROW
:nColDividerStyle := LINESTYLE_LIGHTGRAY
:nRowDividerStyle := LINESTYLE_LIGHTGRAY
:lColDividerComplete := .T.
:lHScroll := .F.
:lVScroll := .T.
:lRecordSelector := .T.
END
WITH OBJECT oCol := oBrwConsu:AddCol()
:bStrData := { || TRANSFORM( CO->CANTIDAD, "999,999" ) }
:cHeader := "Quantità"
:nDataStrAlign:= AL_RIGHT
:nWidth := 40
:cHeader := "Qt."
:oHeaderFont:= oFntHead
:oDataFont := oFntBrow
END
WITH OBJECT oCol := oBrwConsu:AddCol()
:bStrData := { || HB_OemToAnsi(CO->NOMB_PROD) }
:nWidth := 150
:cHeader := "Nome del prodotto"
:oHeaderFont:= oFntHead
:oDataFont := oFntBrow
END
WITH OBJECT oCol := oBrwConsu:AddCol()
:bStrData := { || TRANSFORM( CO->precio,'999.99') }
:nWidth := 60
:cHeader := "Prezzo"
:oHeaderFont:= oFntHead
:oDataFont := oFntBrow
END
WITH OBJECT oCol := oBrwConsu:AddCol()
:bStrData := { || TRANSFORM( CO->Importe,'999.99') }
:nWidth := 60
:cHeader := "Importo"
:oHeaderFont:= oFntHead
:oDataFont := oFntBrow
END
oBrwConsu:SetRDD()
oBrwConsu:CreateFromCode()
How I can converte it into new command and Have the possibility to insert lnoborder ?