Formatting Report based on actual control attributes

  • Thread starter Thread starter yd7770
  • Start date Start date
Y

yd7770

I need to force a new page in a report based on the actual height value
of a particular field that has 'canShrink'/'canGrow' properties set to
True.
Problem I found, that the only time when I can see the actual height of
this control is in Print event. At this time is to late to change
formatting of the section.
Does anybody know solution to this problem?
 
I need to force a new page in a report based on the actual height value
of a particular field that has 'canShrink'/'canGrow' properties set to
True.
Problem I found, that the only time when I can see the actual height of
this control is in Print event. At this time is to late to change
formatting of the section.


That is a real Catch22 kind of problem.

If the can grow control is a text box, then you can use the
TextHeightWidth module at www.lebans.com in the Format
event to calculate how tall the text box will be after it
grows.
 
Back
Top