HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?

This forum is for eXpress++ general support.
Post Reply
Message
Author
gradosic
Posts: 45
Joined: Tue Dec 07, 2010 2:11 pm
Location: Croatia - Europe
Contact:

HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?

#1 Post by gradosic »

Anyone knows how to change Headers and Footers on DCBROWSE during the browse?
Goran Radosic

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?

#2 Post 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.
Best regards,

Chris.
www.aboservice.be

gradosic
Posts: 45
Joined: Tue Dec 07, 2010 2:11 pm
Location: Croatia - Europe
Contact:

Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?

#3 Post by gradosic »

Thanks!
Goran Radosic

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: HOW TO CHANGE BROWSE COLUMN HEADER&FOOTER AT RUNTIME ?

#4 Post by rdonnay »

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.

Post Reply