Главная страница | назад





Article #22609: Changing Quick Report BandType at runtime.

QUESTION:

How do I change the BandType property of QRBand at run time?

ANSWER:

Once you have assigned a BandType to a QRBand, you need to deactivate the band before you can change it's band type:

theReport.Bands.HasPageFooter := FALSE;
theReport.Bands.PageFooter := nil;
QRBand1.BandType := rbPageFooter;
theReport.Bands.HasPageFooter := TRUE;
theReport.Bands.HasPageFooter := QRBand1;

Last Modified: 31-JUL-00