CHAPTER 1 AN INTRODUCTION TO REALBASIC (Web design course) Tip
CHAPTER 1 AN INTRODUCTION TO REALBASIC Tip Visual Basic programmers should recognize the PushButton, EditField, and StaticText field as being equivalent to Visual Basic s Button, TextBox, and Label controls. At this point, the basic design of the Hello World! application s GUI is complete. If you want, you can go ahead and run your application by clicking the Run icon in the REALbasic s Main Toolbar, as Figure 1-13 shows. Figure 1-13. REALbasic lets you test your application from directly within its IDE. At this point, you can see REALbasic compile a development version of your application, which it then runs. As you can see, you application has a menu and displays the three controls you added to its main window. However, the application does not have a polished look at this point and it doesn t do anything. You can take care of addressing these issues in the sections that follow. For now, just exit your application as you would any application that runs on your particular OS. You will be returned to the Window Editor in the REALbasic IDE. Configuring a Few Properties The next step in the development of the Hello World! application is to spruce it up a bit by changing the appearance of its window and the controls you placed on it. For starters, click anywhere on the window. When you do, notice that resizing handles appear around the window. Also, you should see the Properties pane, located just to the right of the window Editor, is not populated with information. The information displayed in the Properties pane reflects the current state of Window1. To change an attribute or property of the window, all you have to do is assign a new value to one of the properties displayed in the Properties pane. For your application, scroll down in the Property pane until you see the Title property, which is located in the Appearance group. Note, the property pane is divided into two columns: the first column displays a listing of all the properties for the selected object and the second column displays each property s associated value. By default, the Title property is assigned a value of Untitled. Click the Untitled value to select it and replace it with the word Greetings, and then press Enter. You should see your application s title bar has automatically changed to reflect this new value.
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.