Page 85 - Computer Class 08
P. 85

Adding Label in the Form

             Label is added to Visual Basic to provide instructions and guides to the users. It is also used
             to display outputs.

               Let’s  Learn...
               Let’s
                      Learn...
             To add label in the form.


             1.  Double-click on the Label button      .      1


             2.  Click and drag in the place of the
                  form  where  we  want  to  add  the
                  label.
                                                                                    2

                  The  default  name  of  the  label  is
                  Label1.


                  We can change the caption of the
                  label from the Properties    window.



             3.  Click on Caption    .

                  Enter the caption for the label.


                  Label caption is changed.

















                                                                                                    3

















                                                                                    Computer-8              85
   80   81   82   83   84   85   86   87   88   89   90