Lesson 1: Creating a Basic Hello World Application  Lesson 1: Creating a Basic Hello World Application


Run the application on the desktop

Note

Now you run the application on the desktop to see how it works. By running the application, you can see the window and menus that were created for you when PocketBuilder generated the application based on your choices.

  1. Click the Run button in the PowerBar.

    The window displays.

    Push pin buttonShown is the Icon page of the Application property sheet. It displays a text box for Icon Name with the entry PowerBuilder 10 dot 0  Tutorial  Tutorial dot i c o and next to it is Browse button. Displayed is an icon of a graduation cap and diploma.
  2. Click the OK button.

    Hello World displays in the window.

    Shown is the Icon page of the Application property sheet. It displays a text box for Icon Name with the entry PowerBuilder 10 dot 0  Tutorial  Tutorial dot i c o and next to it is Browse button. Displayed is an icon of a graduation cap and diploma.
  3. In Hello World, select File>Exit.

    The application closes and you return to the PocketBuilder development environment.

    When you exit and restart PocketBuilder, you might want to have PocketBuilder in the state it was in when you exited, with the workspace and painters you were working in open.

  4. Select Tools>System Options from the menu bar and then click the Workspaces tab.

  5. Make sure the Reopen Workspace On Startup and the Reload Painters When Opening Workspace check boxes are selected.

    Shown is the Icon page of the Application property sheet. It displays a text box for Icon Name with the entry PowerBuilder 10 dot 0  Tutorial  Tutorial dot i c o and next to it is Browse button. Displayed is an icon of a graduation cap and diploma.
  6. Click OK.

    Now when PocketBuilder starts up, it opens the workspace and the painters that were open when you exited. If you were coding in PocketBuilder when you exited, the last script you were working on opens at the last line you edited.





Copyright © 2004. Sybase Inc. All rights reserved. Lesson 1: Creating a Basic Hello World Application

View this book as PDF