Functions for managing PowerBuilder libraries

The library management functions are similar to commands in the Library painter. These functions allow you to create and delete libraries, modify library comments, and see the list of objects located within a library. They also allow you to examine objects within libraries; export their syntax; and copy, move, and delete entries.

These functions can be called outside the context of a library list and current application.

Listed here are the library management functions (which all have the prefix PBORCA_), the purpose of each, and their equivalents in the PowerBuilder Library painter:

Function (prefix PBORCA_)

Purpose

Equivalent in PowerBuilder

LibraryCommentModify

Modify the comments for a library

Library>Properties

LibraryCreate

Create a new library file

Library>Create

LibraryDelete

Delete a library file

Library>Delete

LibraryDirectory

Get the library comments and a list of its objects

List view

LibraryEntryCopy

Copy an object from one library to another

Entry>Copy

LibraryEntryDelete

Delete an object from a library

Entry>Delete

LibraryEntryExport

Get the source code for an object

Entry>Export

LibraryEntryExportEx

Get the source code for an object

Entry>Export

LibraryEntryInformation

Get details about an object

List view

LibraryEntryMove

Move an object from one library to another

Entry>Move