L Lachy Member Joined Dec 19, 2008 Messages 5 Programming Experience 5-10 Dec 19, 2008 #1 Does anybody have any sample code to make the edges of a form rounded, as well as have a border line around the outside?
Does anybody have any sample code to make the edges of a form rounded, as well as have a border line around the outside?
Robert_Zenz Well-known member Joined Jun 3, 2008 Messages 503 Location Vienna, Austria Programming Experience 3-5 Dec 19, 2008 #2 You can use this, put it into a GraphicsPath and et the ClientRectangle with it: CodeProject: Drawing Round-Edged Rectangle Using VB.NET. Free source code and programming help VB.NET: Me.ClientRectangle = New Region(yourGraphicsPath) Bobby Upvote 0 Downvote
You can use this, put it into a GraphicsPath and et the ClientRectangle with it: CodeProject: Drawing Round-Edged Rectangle Using VB.NET. Free source code and programming help VB.NET: Me.ClientRectangle = New Region(yourGraphicsPath) Bobby
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,818 Location Norway Programming Experience 10+ Dec 19, 2008 #3 See "An example of a moveable/resizable shaped form" here Dotnetrix. Mick Doherty's .net tips and tricks. Upvote 0 Downvote
See "An example of a moveable/resizable shaped form" here Dotnetrix. Mick Doherty's .net tips and tricks.
L Lachy Member Joined Dec 19, 2008 Messages 5 Programming Experience 5-10 Dec 19, 2008 #4 Thanks guys. Upvote 0 Downvote