Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Interface and Graphics > Rounding controls


Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2004, 03:23 AM
Phylum Phylum is offline
Freshman
 
Join Date: Mar 2004
Posts: 25
Default Rounding controls


Okay here is the situation. I have a control inherited from control. I added a feature to round the corners of the control. When you round the corners however the background color still fills the entire background effectively bleeding out of the rounded corners.

I thought I found a way around it by changing the region of the control to the graphicspath of the "rounded" control. It worked with 1 exception. The border of the control gets partially cut off and looks awful.

My question is there any other way to do this?

P.S. I tried setting the background color to transparent and made my own background color property, but alas that also caused visual problems.
Reply With Quote
  #2  
Old 03-07-2006, 03:39 PM
Mikecrosoft's Avatar
Mikecrosoft Mikecrosoft is offline
Mexican Coder
 
Join Date: Jun 2002
Location: Monterrey, N.L., Mexico
Posts: 2,793
Default

the only solution its the Region with GraphicsPath
__________________
Mikecrosoft.NET
* If I stop to ask I will stop to learn
* Just I know that I don't know nothing
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some thoughts on the use of VB Controls... rpgnewbie Tech Discussions 8 03-24-2004 09:39 PM
Events for a dynamic array of controls on a userform maxia Excel 12 01-07-2004 03:01 PM
Resizing Controls For Different User Resolutions bradptti Interface and Graphics 1 10-20-2003 08:47 AM
Printing with the Data Report Designer (unbound controls) TagHeuer Database and Reporting 3 04-26-2003 11:42 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->