Hi friends,
oCol := oBrw:AddCol()
oCol:bStrData := { || Tran(ARQCHEQ->VALOR,"@e 99,999,999.99") }
oCol:cHeader := "VALOR"
oCol:nDataStrAlign := AL_RIGHT
How i can do "VALOR" header aligned right?
Regards,
Wanderson.
Hi friends,
oCol := oBrw:AddCol()
oCol:bStrData := { || Tran(ARQCHEQ->VALOR,"@e 99,999,999.99") }
oCol:cHeader := "VALOR"
oCol:nDataStrAlign := AL_RIGHT
How i can do "VALOR" header aligned right?
Regards,
Wanderson.
oCol:nHeadStrAlign := AL_RIGHT
Just a remark, try to use define or defefine xbrowse command, alignment will be done automatically
in your case
redefine xbrowse obrw id xxxx of yyy ;
fields ARQCHEQ->VALOR ;
pictures ,"@e 99,999,999.99")
....
Your header does not align right because you are adding an alpha column Tran(ARQCHEQ->VALOR,"@e 99,999,999.99")
writing the code diffrently allows not to care about this,
Hth
Richard
Thank you Richard, works great!
Wanderson.
redefine xbrowse obrw id xxxx of yyy ;
fields ARQCHEQ->VALOR ;
pictures ,"@e 99,999,999.99")redefine xbrowse obrw id xxxx of yyy ;
COLUMNS "VALOR" ;
PICTURES "@e 99,999,999.99" ;
ALIAS 'ARQCHEQ'