ComboBox doesn't have border when appearance is made flat in VS.NET2005

  • Thread starter Thread starter AbdulGafoor GK
  • Start date Start date
A

AbdulGafoor GK

hi

i am using visual studio 2005. i could make combobox flat, but
without border. is there any way to draw a border for it ?!!!

thanks
 
AbdulGafoor GK said:
hi

i am using visual studio 2005. i could make combobox flat, but without
border. is there any way to draw a border for it ?!!!

thanks

Will FlatStyle.System give you the appearance you seek?
The ComboBox class does not define a BorderStyle or BorderColor property, so
you're left with an option of using the System.Drawing classes to draw a
border yourself.
Perhaps others have more elegant ways...
 

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.

Ask a Question

Back
Top