Making a textbox glow?

borter

Member
Joined
Jul 12, 2013
Messages
7
Programming Experience
Beginner
Is it possible to make a text box glow in any way? If not what is something similar that I can do in replacement instead of a glowing effect.

And now for more details; I am making a doctor who themed browser and I have a textbox that I want to glow(A golden color) when I refresh the browser. I have no idea how to use GDI+ and just learned about it the other day. I can't seem to find out how to work it at all.I want it to glow when I press the refresh button but the main problem is still figuring out how to even do it. Any help would be greatly appreciated and thank you for your time.
 

Conejo

Well-known member
Joined
Jul 24, 2013
Messages
65
Location
USA
Programming Experience
1-3
You can make a class here is one class for a transparent textbox, i hope it helps you

Class TransparentControl
Inherits Control


Public Sub New()
MyBase.New()
MyBase.SetStyle(ControlStyles.UserPaint, True)
MyBase.SetStyle(ControlStyles.DoubleBuffer, True)
MyBase.SetStyle(ControlStyles.SupportsTransparentBackColor, True)
End Sub
End Class
Class TransparentRichTextBox
Inherits RichTextBox


Public Sub New()
MyBase.New()
MyBase.ScrollBars = RichTextBoxScrollBars.None
End Sub


Protected Overrides ReadOnly Property CreateParams As CreateParams
Get
Dim cp As CreateParams = MyBase.CreateParams
cp.ExStyle = (cp.ExStyle Or 32)
Return cp
End Get
End Property


Protected Overrides Sub OnPaintBackground(ByVal e As PaintEventArgs)


End Sub
End Class
 
Top Bottom