line method question

  • Thread starter Thread starter 00EricClapton
  • Start date Start date
This is my code,

Private Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
Me.ScaleMode = 1
Me.ForeColor = 0

Me.Line (0.0458 * 1440, 0)-(0.0458 * 1440, 14400)
end sub

May I know how I can modify it to set the borderwidth or thickness? Thanks.
 
Can anyone please help?


00EricClapton said:
This is my code,

Private Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
Me.ScaleMode = 1
Me.ForeColor = 0

Me.Line (0.0458 * 1440, 0)-(0.0458 * 1440, 14400)
end sub

May I know how I can modify it to set the borderwidth or thickness?
Thanks.
 
Can anyone please help?


00EricClapton said:
This is my code,

Private Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
Me.ScaleMode = 1
Me.ForeColor = 0

Me.Line (0.0458 * 1440, 0)-(0.0458 * 1440, 14400)
end sub

May I know how I can modify it to set the borderwidth or thickness?
Thanks.
 
Can anyone please help?


00EricClapton said:
This is my code,

Private Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
Me.ScaleMode = 1
Me.ForeColor = 0

Me.Line (0.0458 * 1440, 0)-(0.0458 * 1440, 14400)
end sub

May I know how I can modify it to set the borderwidth or thickness?
Thanks.
 
Mate, no need to spam the group... I have been sorting out the answer for
you...

Here it is - use the DrawWidth property.

Me.ScaleMode = 1
Me.ForeColor = 0
Me.DrawWidth = 120
Me.Line (0.0458 * 1440, 0)-(0.0458 * 1440, 14400)

Damian.
 
Thank, Buddy. It's working. Sorry for the spam, it is caused by my network
fault. Cheers.
 
No worries... I thought you might have been posting it multiple times as you
got more desperate for an answer!! ;-)

Glad you got it working.

D.
 
Back
Top