Vertical lines in report

M

Mike

I would like to make a continious vertical line
in "Detail" section of a report. But my text boxes "can
grow" and lines cannot. What to do?
 
R

Rick Brandt

Mike said:
I would like to make a continious vertical line
in "Detail" section of a report. But my text boxes "can
grow" and lines cannot. What to do?

In the OnFormat event of the detail section you can use the Line method for
reports to draw lines and boxes. These are drawn using an x/y coordinate system
so it takes a bit of trial and error to get them positioned where you want them.

A particular behavior of lines drawn with this method is that they cannot extend
outside of the section where the code is run. So if you use a very large Y
coordinate for the lower end of the line it will always extend to the bottom of
the section as it changes size.
 
M

Mike

-----Original Message-----


In the OnFormat event of the detail section you can use the Line method for
reports to draw lines and boxes. These are drawn using an x/y coordinate system
so it takes a bit of trial and error to get them
positioned where you want them.
A particular behavior of lines drawn with this method is that they cannot extend
outside of the section where the code is run. So if you use a very large Y
coordinate for the lower end of the line it will always extend to the bottom of
the section as it changes size.


THANK YOU!
 

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