ActiveReports 7 Now Available! (click for details)

ActiveReports 6 Support

Started by jyoder at 04-16-2009 4:13 PM. Topic has 2 replies.

Print Search Rate
Sort Posts:    
   04-16-2009, 4:13 PM
jyoder is not online. Last active: 12/20/2012 9:55:41 PM jyoder

Top 50 Posts
Joined on 10-24-2003
Posts 612
RepeatToFill Issue or Not?

In your "Cross Section Control Sample", if RepeatToFill is True then it fills the page, even though the GF's PrintToBottom is False. I did not expect that, given the AR6 FAQ says it "fills any blank space on your page." Because with PrintToBottom set to False, I don't yet have any blank space. Therefore, I was guessing I needed to set PrintToBottom to True to first create the white space.

Is it intentional that you want Detail.RepeatToFill to override GF.PrintToBottom? If so, I'm wondering if it'd be more accurate to say it "creates and fills blank space on your page." (Or am I missing something? Or is there another property that can override RepeatToFill's behavior in the same manner it's overriding the GF's PrintToBottom setting?)

BTW, a minor things, but your help description that shows up in the property grid for RepeatToFill is either incomplete or poorly worded. All it says is, "Identifies the way filling page"


   Report 
   04-17-2009, 12:15 AM
IgorI is not online. Last active: 9/15/2011 11:16:00 PM IgorI

Top 50 Posts
Joined on 04-18-2007
Novosibirsk, Russia
Posts 255

DDStaff
Re: RepeatToFill Issue or Not?
Hello,

it is indeed poorly worded and we already updated our documentation with a better description:
"Gets or sets a value that determines whether the section's formatting should print to fill the page when there is not enough data to fill it."

It means that if there is any blank space (not covered by other sections), then Detail section will be printed as many times as possible on this page (but no more than a 1000 times though). GF.PrintAtBottom is not really overriden by this property: GF is always printed after ALL the detail sections and thus it is moved down by the "fake" detail sections, but if the blank space (which is filled by RepeatToFill) height is not divisible by the detail.Height, then there is still blank space left  on the page and PrintAtBottom takes it's place (either print GF immediately below the last "fake" detail, or immediately before PageFooter).

Thanks,
Igor

   Report 
   04-17-2009, 7:58 AM
jyoder is not online. Last active: 12/20/2012 9:55:41 PM jyoder

Top 50 Posts
Joined on 10-24-2003
Posts 612
Re: RepeatToFill Issue or Not?

Makes sense when you think of it that way. Thanks.

BTW, your "Cross Section Control Sample" is slick. It shows off your new features well, making it very easy for me to describe/show management how cross sections controls and RepeatToFill work, as well an alternating color option which had never come up before.


   Report 
GrapeCity » Product Support » ActiveReports 6... » Re: RepeatToFill Issue or Not?

Privacy Policy | Copyright © 1997-2013 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.