Very quick and dirty (needs to be adapted to work with a themed combobox):
\\\
Imports System.Drawing.Drawing2D
..
..
..
Dim x As New GraphicsPath()
x.AddRectangle( _
New Rectangle( _
1, _
1, _
Me.ComboBox1.Width - 2, _
Me.ComboBox1.Height - 2 _
) _
)
Me.ComboBox1.Region = New Region(x)
gp.Dispose()
///
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.