xBrowse Footer Picture

xBrowse Footer Picture

Postby RiazKhan » Sun Jun 24, 2012 7:46 pm

Dear All,

I am using xBrowse to display Dbf file. Numeric column are having AGGR_TOTAL at its footer. I have tried to change the picture of the footer but by doing so, the footer disappears.

I used :

oBrw:oCol('Atri Tax' ):nFooterType := AGGR_TOTAL

For n = 2 To Len(aHead_A[1])
If oBrw:aCols[ n ]:nFooterType = AGGR_TOTAL
oBrw:aCols[ n ]:bLClickFooter := { |r,c,f,o| FooterAggrClick( r, c, f, o ) }
oBrw:aCols[ n ]:nFooterType := { || Trans( AGGR_TOTAL , "9,999,999,999.99") } //Line (A)
Endif
Next n

Without this Line(A) makes the footer appear. But the picture is not proper....

Image

Any suggestions....Thnx
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: xBrowse Footer Picture

Postby Richard Chidiak » Mon Jun 25, 2012 6:05 am

Ceditpicture solves your problem

oBrw:aCols[ n ]:cEDITPicture := "9,999,999,999.99"

Hth
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: xBrowse Footer Picture

Postby RiazKhan » Mon Jun 25, 2012 6:22 am

Thanks Richard,

It works great now, the cEditPicture clause adjusted the column widths as per picture and applied it into columns and footer totals.

Thanks again.....
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 104 guests