Ok I know how to use GDI + to put text into any control when the form loads by using this.
Private Sub test(ByVal sender As System.Object, ByVal pe As _ System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
Dim g As Graphics = pe.Graphics
Dim mybrush As New Drawing2D.LinearGradientBrush(ClientRectangle, _
Color.Blue, Color.Black, Drawing2D.LinearGradientMode.Vertical)
Dim myFont As New Font("arial", 24)
g.DrawString("text here", myFont, mybrush, 300, 260)
End Sub
What I don't know how to do is get this to happen on command(i.e. when I press a button)
Any help on this matter would be greatly appritiated.
thank you :) :confused: :confused:
