ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Private Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
Dim lngMaxHeight As Long
Dim i As Integer
lngMaxHeight = Me.Itm0.Height
For i = 1 To 3
If lngaMaxHeight < Me.Itm0.Height + Me("rptPREE" & i).Height Then
lngMaxHeight = Me.Itm0.Height + Me("rptPREE" & i).Height
End If
Next
Me.Line (Me.Width, 0)-(Me.Width, lngMaxHeight)
For i = 0 To 24
Me.Line (Me("Itm" & i).Left, 0)-(Me("Itm" & i).Left, lngMaxHeight)
Next
End Sub
Me.Line (Me("Itm" & i).Left, 0)-Step(10.5*1440, lngMaxHeight)