Powerbuilder Documentation 9.0

Using point and click – PB Docs 90

Using point and click Users can click graphs during execution. The DataWindow control provides a method called ObjectAtPointer that stores information about what was clicked. You can use this method in a number of ways in mouse events. For example, with the ObjectAtPointer information, you can call other graph methods to report to the user…

Using graphs – PB Docs 90

Using graphs In PowerBuilder, there are two ways to display graphs: In a DataWindow, using data retrieved from the DataWindow data source In a graph control in a window or user object, using data supplied by your application code This chapter discusses the graph control and describes how your application code can supply data for…

Setting up users’ workstations – PB Docs 90

Setting up users’ workstations After building the plug-in application, creating its HTML page, and setting up the server, you need to make sure client workstations are set up to view the plug-in application. To view a Web page that includes a PowerBuilder window plug-in application, users need supporting software installed on their client workstations. They…

Setting up the server – PB Docs 90

Setting up the server After defining the HTML page that displays your plug-in application, you need to set up the Web server. Specifying the MIME type Using the appropriate software for your Web server, register the MIME type for the PowerBuilder window plug-in. Table 32-7 shows the MIME types you can use. Table 32-7: PowerBuilder…

Providing support for transactions – PB Docs 90

Providing support for transactions Benefits of EAServer’s transaction support EAServer components that you develop in PowerBuilder can participate in EAServer transactions. An EAServer transaction is a transaction whose boundaries and outcome are determined by EAServer. You can mark components to indicate that they will provide transaction support. When a component provides transaction support, EAServer ensures…

Modifying graph properties – PB Docs 90

Modifying graph properties When you define a graph in the DataWindow painter, you specify its behavior and appearance. For example, you might define a graph as a column graph with a certain title, divide its Value axis into four major divisions, and so on. Each of these entries corresponds to a property of a graph….

Invoking component methods – PB Docs 90

Invoking component methods Once a connection to EAServer has been established and a proxy object or objects created, the client application can begin using the server components. Invoking a component method To invoke a method on most component types, you need to execute the PowerScript statements required to perform these operations: Use the CreateInstance method…

Invoking another server component’s methods – PB Docs 90

Invoking another server component’s methods EAServer allows the methods of one server component to call methods of another server component. The other server component does not need to be another PowerBuilder component; it can be implemented in any language supported by EAServer. Accessing a component in the current server To access methods of another EAServer…

Exception handling – PB Docs 90

Exception handling Errors that occur in the execution of a method of an EJB component are mapped to exception proxies and thrown to the calling script. The methods of all the classes in pbejbclient90.dll can also throw exceptions when, for example, connection to the server failed, or the component could not be located or created….

Deploying a component to EAServer – PB Docs 90

Deploying a component to EAServer If you are developing a PowerBuilder custom class user object containing business logic that will be deployed to a transaction server, there are some database connectivity issues to keep in mind. For detailed information about the files you need to deploy with applications or components you build in PowerBuilder, see…