Opening and previewing objects – PB Docs 2017

Opening and previewing objects

You can open and preview objects in the current
workspace.

Opening PowerBuilder
objects

PowerBuilder objects, such as windows and menus, are opened only
if they are in a PBL in the current workspace.

To open an object

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

    PowerBuilder 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,
PowerBuilder attempts to open it using the following algorithm:

  • PowerBuilder 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.

  • PowerBuilder determines if the object can be opened in a
    painter or HTML editor.

  • PowerBuilder 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 PowerBuilder
objects

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

To preview an object in the Library painter

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x