Adding an extension to a PowerBuilder target – PB Docs 2022

Adding an
extension to a PowerBuilder target

The simplest way to add a PowerBuilder native class to a
PowerBuilder target is to import the object descriptions in the PBX file
into a library in the PowerBuilder System Tree. You can also use a
command-line tool to create a PBD file from a PBX file and add it to the
target’s library search path. See pbx2pbd220.

To import the descriptions in an extension into a
library:

  1. Copy the PBX file into a directory on the application’s
    path.

  2. In the System Tree, expand the target in which you want to use
    the extension, right-click a library, and select Import PB Extension
    from the pop-up menu.

    pbext0100001.gif
  3. Navigate to the location of the PBX file and click Open.

Each class in the PBX displays in the System Tree so that you can
expand it, view its properties, events, and methods, and drag and drop to
add them to your scripts.


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