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
Tidak ada komentar:
Posting Komentar