Following a suggestion of Kareninstructor here : http://www.vbforums.com/showthread.p...=1#post5379951

I created an highlighted textbox

For that, I use 3 new properties :

BorderColor : to set the color of the border
Borderwidth : to set the width of the border
Gradient : to say if you want a gradient of color for the border

The corners are not round yet (I am not very fond of it or maybe I am a bit lazy )

For anything else the textbox act as a common textbox :


Name:  HL-TB.jpg
Views: 234
Size:  8.8 KB


Here is a test application and the custom class :

textbox_highlighted.zip
highlighted_textbox.vb