Control height on a report

R

rwr

In the section header of a report I have a TextBox that
is set to Can Grow. I also have several labels on the
same line. I want the label height to be the same
height as the TextBox when it grows. All of the controls
have a border around them. I want the report to look like
a grid and can’t get any of the events to work.


TIA
Ron
 
M

Marshall Barton

rwr said:
In the section header of a report I have a TextBox that
is set to Can Grow. I also have several labels on the
same line. I want the label height to be the same
height as the TextBox when it grows. All of the controls
have a border around them. I want the report to look like
a grid and can’t get any of the events to work.


Using the border to create a grid won't work because of the
can grow issue. You need to use the Line method in the
section's Print event to draw the lines. You might prefer
to use the PrintLines procedures at www.lebans.com It
deals with all the complexities of crossing page boundaries,
etc.
 
R

rwr

Marshall said:
Using the border to create a grid won't work because of the
can grow issue. You need to use the Line method in the
section's Print event to draw the lines. You might prefer
to use the PrintLines procedures at www.lebans.com It
deals with all the complexities of crossing page boundaries,
etc.
Thanks, I'll give it a try.
Ron
 

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