ARTICLE

Change BorderStyle of a Form programmatically in VB.NET

Posted by Praveen Kumar Articles | Visual Basic 2010 November 16, 2004
The BorderStyle property is used to change the border of a form. Say I want to change my form's border as 3D look
 
Reader Level:

The BorderStyle property is used to change the border of a form. Say I want to change my form's border as 3D look: 

Private form.BorderStyle = System.WinForms.FormBorderStyle.Fixed3D

or

If you want to change the border of your default form, you can used 

Private Me.BorderStyle = System.WinForms.FormBorderStyle.Fixed3D

at IntializeComponent of your class.

Other Border Styles

share this article :
post comment
 

Is it possible to change form's borderstyle after displaying it?
If yes, how to bring it in effect?

Posted by sneha shendure Apr 05, 2010
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
MOST LIKED ARTICLE
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor