Formatting Report based on actual control attributes

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?
 
M

Marshall Barton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top