Opening and previewing objects

You can open and preview objects in the current workspace.

Opening PocketBuilder objects

PocketBuilder objects, such as windows and menus, can be opened only if they are in a PKL in the current workspace.

StepsTo open an object:

  1. In either the Tree view or the List view, double-click the object, or select Edit from the object’s pop-up menu

    PocketBuilder takes you to the painter for that object and opens the object. You can work on the object and save it as you work. When you close it, you return to the Library painter.

Opening other objects

The Library painter allows you to open most of the different file types it displays. When you double-click on an object, PocketBuilder attempts to open it using the following algorithm:

  1. PocketBuilder determines if the object can be opened in the File editor. For example, files with the extensions .txt, .ini, and .sr* open in the File editor.

  2. PocketBuilder determines if the object can be opened in a painter.

  3. PocketBuilder checks to see if the object is associated with a program in the HKEY_CLASSES_ROOT section of the Windows registry and, if so, launches the application.

Previewing PocketBuilder objects

You can run windows and preview DataWindow objects from the Library painter.

StepsTo preview an object in the Library painter:

  1. Select Run/Preview from the object’s pop-up menu