Re: Why can't I draw to to the control's graphics?
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 05/07/04
- Next message: Herfried K. Wagner [MVP]: "Re: Printing to a Word document using PrintDocument class"
- Previous message: Jim Perry: "RE: easily reading and using an XML-string"
- In reply to: Juan Romero: "Why can't I draw to to the control's graphics?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 15:12:41 -0400
Hi,
http://msdn.microsoft.com/msdnmag/issues/04/05/AdvancedBasics/default.aspx
Ken
---------------
"Juan Romero" <juan.romero@bowne.com> wrote in message
news:%23dVt0zFNEHA.3312@tk2msftngp13.phx.gbl...
> Hey guys,
>
> I am trying to draw a vertical line in a class of mine that inherits from
> the RichTextBox control, but for some reason the line won't be drawn.
>
> Here is the code, fairly straight forward:
>
> Dim g As Graphics = Me.CreateGraphics
> g.DrawLine(Pens.Black, 100, 1, 100, Me.Height)
> g = Nothing
>
> Any ideas?
>
>
- Next message: Herfried K. Wagner [MVP]: "Re: Printing to a Word document using PrintDocument class"
- Previous message: Jim Perry: "RE: easily reading and using an XML-string"
- In reply to: Juan Romero: "Why can't I draw to to the control's graphics?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|