HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Anyone knows how to change Headers and Footers on DCBROWSE during the browse?
Goran Radosic
Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Hi,
To change the footer.
oColDeb:heading:... for the heading.
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))
Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?
Another way is to use a code block for the header and footer and then call oBrowse:refresh().
The eXpress train is coming - and it has more cars.