Home All Groups Group Topic Archive Search About

Old fashioned Borderstyle of UserControl

Author
24 Oct 2007 7:31 AM
Ole
Hi,

I have created a custom control that inherits the UserControl (Framework
2.0) but when I set the borderStyle to Fixed3D i get the old-fashioned
"sunken" border instead of the "blue/grey" dimmed new border as textbox
uses. I there a way to change that?

Thanks,
Ole

Author
29 Oct 2007 6:56 AM
sa
this thing is supported by textbox and not user control. You may need to
draw you custom border using GDI+

let me know in case you need any further help on this.
________________________
s*@openwinforms.com
http://www.openwinforms.com/
OpenWinForms - open source windows forms and controls
Google group - http://groups.google.com/group/open-winforms

Show quote
"Ole" <o**@blabla.com> wrote in message
news:OqBWh$gFIHA.6068@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I have created a custom control that inherits the UserControl (Framework
> 2.0) but when I set the borderStyle to Fixed3D i get the old-fashioned
> "sunken" border instead of the "blue/grey" dimmed new border as textbox
> uses. I there a way to change that?
>
> Thanks,
> Ole
>

AddThis Social Bookmark Button