Using ListView controls – PB Docs 115
Using ListView controls A ListView control allows you to display items and icons in a variety of arrangements. You can display large icon or small icon freeform lists, or you can display a vertical static list. You can also display additional information about each list item by associating additional columns with each list item: ListView…
Preparing consolidated databases – PB Docs 115
Preparing consolidated databases Whether you are designing a new database or preparing an existing one to be used as a MobiLink consolidated database, you must install the MobiLink system tables in that database. SQL Anywhere provides setup scripts for Sybase Adaptive Server Enterprise, Oracle, Microsoft SQL Server, and IBM DB2. A setup script is not…
Naming the DataWindow controls in a form style – PB Docs 115
Naming the DataWindow controls in a form style Each form style you define contains one or more central DataWindow controls that are based on DataWindow controls in one of the built-in InfoMaker form styles. The best way to understand the behavior of these DataWindow controls is to build forms in InfoMaker using each of the…
PBDOM object hierarchy – PB Docs 115
PBDOM object hierarchy The following figure shows the PBDOM object hierarchy: Figure 14-1: The PBDOM object hierarchy PBDOM_OBJECT and its descendants The base class for PBDOM objects that represent XML nodes, PBDOM_OBJECT, inherits from the PowerBuilder NonVisualObject class. Each of the node types is represented by a PBDOM class whose methods you use to access…
About preferences and default settings – PB Docs 115
About preferences and default settings Many PowerBuilder applications store user preferences and default settings across sessions. For example, many applications keep track of settings that control the appearance and behavior of the application, or store default parameters for connecting to the database. PowerBuilder applications can manage this kind of information in initialization files or in…
Using window arrays – PB Docs 115
Using window arrays To create an array of windows, declare an array of the datatype of the window. For example, the following statement declares an array named myarray, which contains five instances of the window w_employee:
1 |
w_employee myarray[5] |
You can also create unbounded arrays of windows if the number of windows to be opened is not…
PDF and XSL-FO export – PB Docs 115
PDF and XSL-FO export PowerBuilder can save the DataWindow’s data and presentation as a Portable Document Format (PDF) file using two techniques. By default, PowerBuilder saves as PDF using a distiller. PowerBuilder can also save to PDF or XSL Formatting Objects (XSL-FO) format using the Apache XML Formatting Objects processor. Using the Ghostscript distiller In…
Chapter 24 Building an EAServer Client – PB Docs 115
Chapter 24 Building an EAServer Client About this chapter This chapter explains how to build a PowerBuilder client that accesses an EAServer component. For information about secure connections, see Chapter 25, “Using SSL in PowerBuilder clients.” Contents Topic About building an EAServer client Connecting to EAServer Generating EAServer proxy objects Invoking component methods Using the…
Generating EAServer proxy objects – PB Docs 115
Generating EAServer proxy objects About EAServer proxy objects Each EAServer component has a corresponding proxy object in the client application. To access an EAServer component, you need to communicate through the EAServer proxy. EAServer 6.0 and later wraps CORBA components (including components generated from PowerBuilder) as EJBs. An EJB component has two corresponding proxy objects…
Invoking the Web service method – PB Docs 115
Invoking the Web service method SoapConnection is used to create the Soap_proxy object with connection options that you set using SoapConnection object methods. Once a proxy object for a Web service is created, the client application can begin accessing the Web service. To invoke a Web service method, the proxy object must contain the following…