S
Stefan Hoffmann
hi,
i have Line controls on my report to seperate my columns. I'm trying to
use the Report.Line method in the print event to extend the lines as
i've got autosizing textboxes on my report. The code so far:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim ctl As Access.Control
For Each ctl In Me.Controls
If TypeOf ctl Is Line Then
Me.Line (0, ctl.Left)-(ctl.Width, 100000), 0
End If
Next ctl
My problem is the correct use of Report.Line. It is now drawing the
lines always at the left side of my report.
Any hints out there?
mfG
--> stefan <--
i have Line controls on my report to seperate my columns. I'm trying to
use the Report.Line method in the print event to extend the lines as
i've got autosizing textboxes on my report. The code so far:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim ctl As Access.Control
For Each ctl In Me.Controls
If TypeOf ctl Is Line Then
Me.Line (0, ctl.Left)-(ctl.Width, 100000), 0
End If
Next ctl
My problem is the correct use of Report.Line. It is now drawing the
lines always at the left side of my report.
Any hints out there?
mfG
--> stefan <--