Chapter 17 Piping Data Between Data Sources – PB Docs 120
Chapter 17 Piping Data Between Data Sources About this chapter This chapter tells you how you can use a Pipeline object in your application to pipe data from one or more source tables to a new or existing destination table. Contents Topic About data pipelines Building the objects you need Performing some initial housekeeping Starting…
Third-party components and deployment – PB Docs 120
Third-party components and deployment PowerBuilder applications have some dependencies on third-party components that are installed with PowerBuilder. Most of these components are not installed with the PowerBuilder Runtime Packager. You may redistribute some of these components with your application, but others must be obtained from the vendor. For information about components that can be freely…
PowerBuilder components on EAServer – PB Docs 120
PowerBuilder components on EAServer To run PowerBuilder components in EAServer, the runtime libraries for the version and build number of PowerBuilder in which the components were developed must be available on the server. When you install a maintenance release of PowerBuilder and deploy new or updated components to EAServer, make sure that the PowerBuilder VM…
Managing TreeView pictures – PB Docs 120
Managing TreeView pictures PowerBuilder stores TreeView images in three image lists: Picture list (called the regular picture list here) State picture list Overlay picture list You add pictures to these lists and associate them with items in the TreeView. Pictures for items There are several ways to use pictures in a TreeView. You associate a…
Populating TreeViews – PB Docs 120
Populating TreeViews You must write a script to add items to a TreeView. You cannot add items in the painter as with other list controls. Although you can populate all the levels of the TreeView at once, TreeView events allow you to populate only branches the user looks at, which saves unnecessary processing. Typically, you…
Providing online Help for users – PB Docs 120
Providing online Help for users Two ways to call Help from an application PowerBuilder provides two principal ways of calling an online Help file from a PowerBuilder application: Use the ShowHelp and ShowPopupHelp PowerScript functions in your application scripts to call Help topics. Declare the WinHelp API as an external function and use the WinHelp…
About XML and PowerBuilder – PB Docs 120
About XML and PowerBuilder PowerBuilder provides several features that enable you to work with the Extensible Markup Language (XML). You can: Export the data in a DataWindow object to XML, and import data in an XML document or string into a DataWindow object Determine whether an XML document or string is well-formed or conforms to…
Printing basics – PB Docs 120
Printing basics All printing is defined in terms of the print area. The print area is the physical page size less any margins. For example, if the page size is 8.5 inches by 11 inches, and the top, bottom, and side margins are all a half-inch, the print area is 7.5 inches by 10 inches….
Managing information in initialization files – PB Docs 120
Managing information in initialization files Functions for accessing initialization files PowerBuilder provides several functions you can use to manage application settings in initialization files. Table 33-1: PowerBuilder initialization file functions Function Description ProfileInt Obtains the integer value of a setting in a profile file ProfileString Obtains the string value of a setting in a profile…
Implementing an existing interface – PB Docs 120
Implementing an existing interface You can create PowerBuilder implementations of existing interfaces using the EAServer Component Wizard on the Target or PB Object tab in the New dialog box. A typical use of this feature is to create an implementation of a standard API, such as protocols for online banking and securities trading. Selecting an…