|
|
|||
|
Basics More Complex Examples
|
Basic controls with Visual Basic 2008 Windows Forms On this page I am going to share with you some of the basic controls that we will be using in this tutorial. Even though I call them basic controls it does not mean that they are not valuable. Instead it shows the importance of these controls since the are some of the basic foundations for creating windows forms. The following figure shows what some of these controls look like like and afterwards I will give you a brief description of each control.
Form1:
If you scroll down the list of properties
you will see one that says Text Form1.
You can change the Form1 to anything you want to display on the form
border. I advise you to keep the Form1.text the same as the
Form1.Name. Yes that is right you can also change the actual
referral name to anything suiting your program. Should you scroll up to
the top of the properties control you will find (Name) Form1.
I advice you to always select the correct name every time you create a
new Windows form.
Public Class Form1 Alter the code by adding (me.text = "Bla bla bla") between the Sub and End Sub tags. your code should look something like the following.
Public Class Form1
You will notice that the text on the form
border still displays "Form1". Should you now press the Start Debugging
button (looks like a play button somewhere on the top of your window)
your form will be displayed with the text "Bla bla bla".
Email us at: info@pro2visual.com
|
Popular Articles Moving a borderless form in vb.net Link Progress Bar with Timer in vb.net How to open a folder using the process control |
|
|
|