Page 1 of 1
HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Posted: Thu Nov 17, 2011 7:52 am
by gradosic
Anyone knows how to change Headers and Footers on DCBROWSE during the browse?
Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Posted: Thu Nov 17, 2011 8:58 am
by skiman
Hi,
To change the footer.
Code: Select all
...
dcbrowsecol ... OBJECT oColDeb
...
oColDeb:footing:setcell(1 ,str(nAfpdeb,12,2) , ,.T.)
oColDeb:footing:invalidaterect(oColDeb:footing:cellrect(1))
oColDeb:heading:... for the heading.
Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Posted: Thu Nov 17, 2011 10:08 am
by gradosic
Thanks!
Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Posted: Thu Nov 17, 2011 9:49 pm
by rdonnay
Another way is to use a code block for the header and footer and then call oBrowse:refresh().