FastReport中,如何在代码中为某页页脚加上页码?
myhui 2003-08-24 02:01:23 打印的页是动态生成的,
程序这样的:
TfrPage* Page ;
for(int i=1;i<=max;i++)
{
frReport1->Pages->Add();
Page=frReport1->Pages->Pages[++p];
}
我要给这样产生的page加一个在页脚右端的页码,如何编写代码啊?
如果用这几句,
TfrBandView* b1 = new TfrBandView();
b1->BandType =btPageFooter;
Page->Objects->Add(b1);
怎样才能把一个包含“[PAGE#]”的memo加到b1上面呢?