Jump to: navigation, search

Visual Basic and Forms

5 bytes added, 19:16, 13 August 2007
no edit summary
By default a form can be resized by the user. Visual Studio allows both is behavior, and the appearance of the border to be controlled by manipulating the ''FormBorderStyle'' property. The border may be configured to allow, or disallow resizing of the form, with a variety of border styles (such as 3D).
To change the border, select the ''FormBorderStyle'' in the ''Properties'' panel of the form you which to modify. Click on the down arrow in the value field to drop down a menu of items and select the setting of your choice. Feel free to experiment with the different settings, using the '''F5 ''' key to build and run your application to try out each setting.
== Stopping a Form from Appearing the Windows Taskbar ==
== Creating a Transparent Form ==
The ''Opacity'' property can be used to control the degree of transparency of a form of control. The lower the opacity percentage, the more transparent the form or control. To make a form transparent, select the form and change the ''Opacity'' percentage to 70% (if you select a percentage that is too low the form will be invisible when the application is run). Press '''F5'' to build and run the application. The form weill will be partially transparent in that you can still see the form and its controls, but you can also see what is on the desktop behind the form.

Navigation menu