Powerbuilder Documentation 2021

Powerbuilder Documentation 2021

PictureWidth – PB Docs 2021

PictureWidth property for PowerScript controls Applies to PictureListBox, DropDownPictureListBox, TreeView, Toolbar, RibbonComboBoxItem controls Description The PictureWidth property specifies in pixels the display width of all the pictures in the control. In a script, this property can be set only if there are no images in the PictureName property array. In the painter, you can change…

Pi – PB Docs 2021

Pi PowerScript function Description Multiplies pi by a specified number. Syntax

Argument Description n The number you want to multiply by pi (3.14159265358979323…) Return value Double. Returns the result of multiplying n by pi if it succeeds and -1 if an error occurs. If n is null, Pi returns null. Usage Use Pi to…

Preinstallation Tasks – PB Docs 2021

Preinstallation Tasks This topic describes tasks to perform before installation. Log in to Windows as an administrator, as you must have administrator privileges to run the installer and install some components. Read the release bulletins for the latest information on the products that you are installing. Release bulletin is available on the Appeon website at…

PopupWindow – PB Docs 2021

PopupWindow property for PowerScript controls Applies to WebBrowser controls Description Specifies whether the new page is opened in a new popup window (similar to “Open in new tab” in the other Web browsers). The default value is TRUE. When this property is changed at runtime, the Web page will need to be refreshed or navigated…

Getting source code from SVN, Git, or VSS – PB Docs 2021

Getting source code from SVN, Git, or VSS You can configure the exported build file to download source code from SVN, Git, or VSS before the build process starts. Step 1: Make a copy of the exported build file and place it to a location near your PowerBuilder application target, so that you could manage…

PrintGetPrinters – PB Docs 2021

PrintGetPrinters PowerScript function Description Gets the list of available printers. Syntax

Return value String. Each printer is listed in the string in the format printername ~t drivername ~t port ~n. Usage The return string can be loaded into a DataWindow using ImportString or separated using the ~n as shown in the example. Examples This…

Opening Script views – PB Docs 2021

Opening Script views If there is no open Script view, selecting a menu or PainterBar item that requires a Script view opens one automatically. If you want to edit more than one script at a time, you can open additional Script views from the View menu. To open a new Script view: Select View>Script from…

Performing some initial housekeeping – PB Docs 2021

Performing some initial housekeeping Now that you have the basic objects you need, you are ready to start writing code to make your pipeline work in the application. To begin, you must take care of some setup chores that will prepare the application to handle pipeline execution. To get the application ready for pipeline execution:…

PackageProcs – PB Docs 2021

PackageProcs database parameter Description Specifies that the stored procedures and functions encapsulated in an Oracle database package should be appended to the lists of Oracle standalone stored procedures and functions displayed in the DataWindow object and Database painters. When to specify PackageProcs You must specify the PackageProcs parameter before connecting to the database. Applies to…

PBDOM_OBJECT – PB Docs 2021

PBDOM_OBJECT The PBDOM_OBJECT class represents any node in an XML node tree and serves as the base class for specialized PBDOM classes that represent specific node types. The DOM class that corresponds to PBDOM_OBJECT is the Node object. PBDOM_OBJECT contains all the basic features required by derived classes. A node can be an element node,…