Kieron Posted March 2, 2003 Posted March 2, 2003 Hi, As part of our funky UI (cheers to the design team!!), we've created some textboxes with curved edges...They've a thin borderline running around a curved rectangle, the problem is that the background of the actual UserControl shows the corners (when used on a gradient/ picture background) and we'd like to make it transparent to give it a nicely rounded egde...does anyone have any ideas as to how we'd do this? Thanks in advance Kieron Quote
Kieron Posted March 2, 2003 Author Posted March 2, 2003 Don't worry about it - found the solution. Here it is if anyone wants it... Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True) Me.BackColor = Color.Transparent Quote
bpayne111 Posted March 3, 2003 Posted March 3, 2003 hey thanks for that one.. i'm considering rounding the edges of a control i've written and that will save me a bit headache i'm sure (is it me or did this post work out kinda backwards) Quote i'm not lazy i'm just resting before i get tired.
Kieron Posted March 3, 2003 Author Posted March 3, 2003 It did!! But in the CooLest possible way!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.