Powerbuilder Documentation 9.0

Powerbuilder Documentation 9.0

Managing TreeView pictures – PB Docs 90

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…

Using sheets – PB Docs 90

Using sheets In an MDI frame window, users can open windows (sheets) to perform activities. For example, in an electronic mail application, an MDI frame might have sheets that users open to create and send messages and read and reply to messages. All sheets can be open at the same time and the user can…

Using a RichTextEdit control – PB Docs 90

Using a RichTextEdit control A RichTextEdit control in a window or user object lets the user view or edit formatted text. Functions allow you to manipulate the contents of the control by inserting text, getting the selected text, managing input fields, and setting properties for all or some of the contents. You define RichTextEdit controls…

Working with Transaction objects – PB Docs 90

Working with Transaction objects PowerBuilder uses a basic concept of database transaction processing called logical unit of work (LUW). LUW is synonymous with transaction. A transaction is a set of one or more SQL statements that forms an LUW. Within a transaction, all SQL statements must succeed or fail as one logical entity. There are…

Using tabs – PB Docs 90

Using tabs The Print function has several formats. The format shown in the previous example prints a string starting at the left edge of the print area and then prints a new line. In other formats of the Print function, you can use tabbing to specify the print cursor position before or after printing, or…

Events for the PowerBuilder window ActiveX – PB Docs 90

Events for the PowerBuilder window ActiveX The PowerBuilder window ActiveX can respond to certain events occurring within the child window. These are outbound events, which execute first within the PowerBuilder window and then in the PowerBuilder window ActiveX. You can add JavaScript or VB Script code that responds to these events. The events are listed…

Java support – PB Docs 90

Java support You must deploy the PowerBuilder pbjvm90.dll file with any applications or components that use the Java Runtime Environment (JRE), and there must be a JRE installed on the target computer. The JRE is required for JSP targets, EJB clients, JDBC connections, and saving as PDF using XSL-FO. You can copy the JRE installed…

About deploying applications – PB Docs 90

About deploying applications PowerBuilder lets you develop and deploy applications for many application architectures. Traditional client/server applications The primary focus of this chapter is on building an executable file and packaging a single- or two-tier application for deployment. The chapter helps you decide whether to use compiled code or pseudocode, whether to use dynamic libraries…

How the PowerBuilder COM object executes – PB Docs 90

How the PowerBuilder COM object executes To establish an instance of a PowerBuilder COM object, the PowerBuilder virtual machine (PBVM90.DLL) loads the custom class object from the PBD embedded in the COM server DLL and creates the proper session and instance information. When a client invokes a PowerBuilder COM object method, the method calls back…

Establishing a secure connection – PB Docs 90

Establishing a secure connection To establish a secure connection to EAServer, follow these steps: Create an instance of the SSLServiceProvider object. Optionally use the GetGlobalProperty function to obtain security information from the server. Set properties required by the server using the SetGlobalProperty function. Connect to the server using the ConnectToServer function of the Connection object….