Open Means Open Means

PLACING THE CONTROLS ON A FORM

  • Click the control on the toolbar.
  • Now the control looks like a pressed push button.
  • Place the mouse-cursor on the form at a suitable location and click.
  • Now the control appears on the form as shown below.

p1


SELECTING A FORM AND THE CONTROLS

  • To select an object simply click the control.
  • Another way to select the control is by using the drop-down-list on the properties window as shown below.

p2

  • It is possible to select one,more,or all the controls on the form. by pressing the shift key and selecting the controls.
  • To select all the controls on a form, choose
  • EDIT-:>SELECT ALL
  • Use the Ctrl+A.

RESIZING A FORM AND CONTROLS

DRAG  THE  HANDLES
p3
USE  THE  PROPERTIES WINDOW:

Set  the  values of the properties -  height and width values it desires the place of the control.

USE THE ARROW KEYS:

  • Up arrow key-decrease the height of control.
  • Down arrow key-increase the height of the control.
  • Left arrow key-decrease the width of the control.
  • Right arrow key-decrease the width of the control.


USE   THE  EVENT   PROCEDURE:

It is a code used  for  resizing at run-time

RELOCATING THE CONTROLS

DRAG THE CONTROLS USING THE MOUSE:
USE THE PROPERTIES WINDOW:

  • Set the values of  the location property.
  • It consist of x and y values to locate the
  • control.
  • X measures the left edge of the form and control.
  • Y measures the top edge of the form and control.

p4


USING THE PROPERTY WINDOW

  • To open the property window follow the below steps
    View-:>Properties Window.
    The short cut to open the window
    Function Key-F4.
    The  property window usually appears in the right coner
    of the window.
    The Property Window consist of two tabs:
  • Alphabetic
  • Categorized

p5 p6


Invalid value in the right side of the box will lead to error message as shown below

p7
Give ok and change the value in the properties window

USING THE SOLUTION EXPLORER

The Project Explorer in Visual Basic is called as Solution Explorer in VisualBasic.Net,but it has many functions then in Visual Basic
p8
There are four functions

  • view code
  • view designer
  • refresh
  • show all files
  • properties

Read my other articles about Visual Basic and Visual Basic.Net

No comments

Login to post a comment

Show
  • Create an account
  • Forgot your username?
  • Forgot your password?

Related Articles

  • Swap Data Table using vb.net
  • Export to PDF function in vb.net
  • Insert Grid Details Code of .net Functions
  • Function to Fill data in Combobox control in vb.net
  • Fucntion to Get Maximum num from Table in your vb.net Programme
  • Working With Files In VB
  • Everyday science
  • Clinical forms of complicated diverticulitis
  • The genetic code: Different forms of DNA, types of DNA double-strand, Mechanical properties
  • Fight against terrorism
  • About Us
  • Faqs
  • Contact Us
  • Disclaimer
  • Terms & Conditions