Re: Grow Vertical Line
- From: Proposal Doctor <ProposalDoctor@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Mar 2009 10:33:02 -0700
Also thanks for pointing out that out-of-range 20,000 inch value. Even using
huge 5-foot wide plotters, I couldn't extend a line that far. And the 22
inch maximum length for an Access control/object would be exceeded.
David
"Marshall Barton" wrote:
Proposal Doctor wrote:.
If I understand you correctly, I should have something like:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me.ScaleMode = 1
Me.ForeColor = 0
Me.Line (5.5 * 1440, 0)-(5.5 * 1440, 14400), vbGreen
Me.Line (2.3 * 1440, 0)-Step(20, 20000 * 1440), vbRed
Me.Line (0.3 * 1440, Me.line1.Top)-(5 * 1440, Me.line2.Top), vbGreen
Well, I can't tell what you should have unless you explain
what you need more precisely. But, those three statements
seem rather odd to me. The first one draws a vertical line
5.5 inches from the left margin, starting at the very top of
the detail section and ending 10 inches down the detail
section. Since it is very unlikely that a single record's
detail section is anywhere near 10 inches high, it will be
cropped at the bottom of the detail section.
The red line is not even vertical (it slants by 20 twips)
and you specified its height at 20,000 inches, which is
ridiculous.
The third one starts 3/10 of an inch from the left margin
and at the vertical position of line1 (if that's the real
name of some horizontal(?) line). It then goes diagonally
down and to the right 4.7 inches until it reaches the top of
another horizontal(?) line named line2.
Does my description match anything like what actually
happened?
--
Marsh
MVP [MS Access]
- References:
- Grow Vertical Line
- From: Proposal Doctor
- Re: Grow Vertical Line
- From: Marshall Barton
- Re: Grow Vertical Line
- From: Proposal Doctor
- Re: Grow Vertical Line
- From: Marshall Barton
- Grow Vertical Line
- Prev by Date: RE: variable in textbox
- Next by Date: Re: VBA Function to fill report text box
- Previous by thread: Re: Grow Vertical Line
- Next by thread: Please help!!
- Index(es):
Relevant Pages
|
Loading