K
KRISH
Hi!
I am using sample code given below to draw lines
Private Sub GroupHeader3_Format(Cancel As Integer,
FormatCount As Integer)
Dim Ctl As Control
Dim intLineMargin As Integer
intLineMargin = 15
For Each Ctl In Me.Section
(acGroupLevel3Header).Controls
With Ctl
Me.Line ((.Left + .Width + intLineMargin),
350)-(.Left + .Width + _
intLineMargin, Me.Height)
End With
Next
With Me
Me.Line (0, 350)-Step(.Width, .Height), 0, B
Me.Line (0, 350)-Step(Width, 0)
End With
Set Ctl = Nothing
End sub
But the lines are not coming. Lines are coming only if I
place the controls in the detail section. Please help.
Krish
I am using sample code given below to draw lines
Private Sub GroupHeader3_Format(Cancel As Integer,
FormatCount As Integer)
Dim Ctl As Control
Dim intLineMargin As Integer
intLineMargin = 15
For Each Ctl In Me.Section
(acGroupLevel3Header).Controls
With Ctl
Me.Line ((.Left + .Width + intLineMargin),
350)-(.Left + .Width + _
intLineMargin, Me.Height)
End With
Next
With Me
Me.Line (0, 350)-Step(.Width, .Height), 0, B
Me.Line (0, 350)-Step(Width, 0)
End With
Set Ctl = Nothing
End sub
But the lines are not coming. Lines are coming only if I
place the controls in the detail section. Please help.
Krish