请教各位:
为何在Fastreport3中主项角PageFooter1的OnBeforePrint方法(填充空白自定义格式):
with PageFooter1, Engine do
begin
showmessage(freespace);
while FreeSpace > 2 do
begin
ShowBand(Child1);
end;
end
中,freespace的值为何总是0 ?是我的代码错了,还是它本身的问题?
请问还有没有其他方法可以实现页角和主项数据之间的空白用自定义的格式填充?
为何在Fastreport3中主项角PageFooter1的OnBeforePrint方法(填充空白自定义格式):
with PageFooter1, Engine do
begin
showmessage(freespace);
while FreeSpace > 2 do
begin
ShowBand(Child1);
end;
end
中,freespace的值为何总是0 ?是我的代码错了,还是它本身的问题?
请问还有没有其他方法可以实现页角和主项数据之间的空白用自定义的格式填充?
因为第一次showmessage(freespace)的值都是0了,后面的>child.height 怎么可能执行?
主项角是我说错了,是页角(PageFooter1)