HighTechTalks DotNet Forums  

Old fashioned Borderstyle of UserControl

Dotnet Framework microsoft.public.dotnet.framework


Discuss Old fashioned Borderstyle of UserControl in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ole
 
Posts: n/a

Default Old fashioned Borderstyle of UserControl - 10-24-2007 , 03:31 AM






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



Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Old fashioned Borderstyle of UserControl - 10-29-2007 , 02:56 AM






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.
________________________
sa (AT) openwinforms (DOT) com
http://www.openwinforms.com/
OpenWinForms - open source windows forms and controls
Google group - http://groups.google.com/group/open-winforms

"Ole" <ole (AT) blabla (DOT) com> wrote

Quote:
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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.