floatwnd.document.write( WPtext );
When a PBL Peeper sheet opens, and no application-selecting command line parameters have
been supplied, the PBLs Page will be selected. The purpose of this page is to select which PBLs
(or other object containers, like file system folders containing object exports) the rest of the
pages in this sheet in PBL Peeper will work with. The rest of the documentation will refer to this
set of PBLs and/or containers as the “application”, although this set of PBLs and/or containers
does not have to correspond to a PowerBuilder application’s set of PBLs.
When using the Treeview interface, the treeview on the left will have available drive items and
PowerBuilder application items. In order to select PBLs for the PBL Peeper application, drag
items from the treeview on the left to the listview on the right. Alternate methods for selecting an
item are pressing Enter and double clicking, although double clicking an item that has children
will revert to the native treeview behavior of expanding the item. Selecting an item will bring
with it all PBLs belonging to the item.
The drive items in the treeview provide to access drives, folders and subsequently PBLs, PBTs
(targets) and PBWs (workspaces)
. Dragging across a PBL will move that individual PBL into the
list of selected PBLs. Dragging across a target or workspace will select all PBLs that belong to
those. If Scan for PB Files is selected, dragging a folder across will bring across all PBLs in the
subtree beneath that folder, not just PBLs in that folder directly. If Scan For Export Folders is
selected, directories containing export files (*.sr*) will be selected, and the folders treated as
PBLs. Dragging across a drive will select all PBLs or exports on the drive.
PBL Peeper provides a list of applications from each version of PowerBuilder or compatible
PowerBuilder products it finds on the system. Below each are workspaces, targets or
applications, as appropriate, found in their respective PB.INI files or registry settings, and in turn
the PBLs associated with each. If a PBL can no longer be found, its icon will have a red circle
with a slash through it. Selecting a PBL that is no longer available for the PBL Peeper
application will result in an warning message. Dragging an application icon across will bring all
the PBLs associated with that application.
When using the Text interface, there is a File Spec field in which to enter a file specification of
PBLs, PBTs or PBWs to transfer. You can build this file specification with the Select
Directory and Select File buttons. The Include Subdirectories checkbox will indicate
whether you want PBL Peeper to go through the subdirectories beneath the specified directory in
order to find other matches to the file specification. The Transfer button will load the specified
files into the listview on the right.
The Grid interface provides a list of applications and targets found in all versions. The list has
all the standard amenities provides by other lists, including Sort, Filter, Find, QuickFilter and
QuickFind. The list maintains the sort and filter between runs. To select an application or target,
double click it or drag it to the listview.
The listview on the right shows the list of PBLs or export folders selected. At start up, unless an
application-selecting command line parameter has been provided, the listview on the right will be
empty. See the notes on each interface to see how to select PBLs or export folders. To remove
PBLs or export folders from PBL Peeper’s application list, select them in the listview and press
Delete. (Note that this does not delete the files from the hard disk; it merely removes them from
the list.) The listview on the right also accepts PBLs, PBTs, PBWs and folders dragged and
dropped from Windows Explorer. The behaviour when a folder is dropped depends on whether
Scan for Export Folders or Scan for PB Files is selected, as described above.