Specify an icon for the application

Note

Now you specify an icon for the application. The icon appears in the workspace when you minimize the application during execution. PowerBuilder includes the icon automatically when you create an executable file. You specify an icon from the Properties view in the Application painter.

  1. Double-click the pbtutor Application object in the System Tree

    or

    Right-click the pbtutor Application object in the System Tree and select Edit from the pop-up menu.

    The pbtutor Application object is located under the pbtutor library, which is under the pbtutor target object that you created with the Template Application wizard. Different views of the Application object display in the Application painter.

  2. Make sure the Properties view displays in the Application painter.

    If the Properties view is not open, you can open it by selecting View>Properties from the menu bar. The menu item is grayed out if the Properties view is already open.

    Shown is the General tab of the Properties View
  3. Click the Additional Properties button in the Properties view.

    A tabbed Application property sheet displays.

  4. Select the Icon tab.

  5. Click Browse.

    Navigate to the Tutorial directory.

  6. Select the tutorial.ico file.

    Click Open.

    The tutorial icon displays on the Icon page of the Application property sheet.

    Shown is the Icon page of the Application property sheet.
  7. Click OK.

    Click the Save button in PainterBar1 or select File>Save.

    Click the Close button in PainterBar1 or select File>Close.