genuinemails.com

Sabtu, 13 Februari 2010

KNOWN VISUAL BASIC (Part 3)

In the form window, the user in building a view of the application programs will be made by adjusting the components of a good location, property and eventnya. To retrieve a component of the [Toolbox] can be done with the click components, then clik or pull in the correct position on the form. For example take the label from the Toolbox can be done in a way like Figure 1.6 below:


Figure 1.6

The steps to take labels from the toolbox to be paired in the form are as follows:

1. Click the icon [label] in [ToolBox]

2. Move to a position where the label will be placed

3. Clik and drag until it was right then release

Note:

Do not forget to set the property name of each component used, because the name is the identity of the object to be used in writing programs.

The next step is to provide the text on the label, say "Hello world", then piliha Caption property, and fill with Hello World. Results show the program is as follows:

Figure 1.7 : Layout

And to run the program click the Run icon () on the toolbar or select the [Run]>> [Start], or to press the [F5]. So that the results of the program are:


Figure 1.8. The program

Related Posts by Categories



Widget by Hoctro | Jack Book

Your cOmment"s Here! Hover Your cUrsOr to leave a cOmment.

BlogCatalog

My Sponsor