Powerbuilder Documentation 11.0

Powerbuilder Documentation 11.0

Using sheets – PB Docs 110

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…

Identifying the dragged control – PB Docs 110

Identifying the dragged control To identify the type of control that was dropped, use the source argument of the DragDrop event. This script for the DragDrop event in a picture declares two variables, then determines the type of object that was dropped:

Using CHOOSE CASE If your window has a large number of controls…

Chapter 8 Using TreeView Controls – PB Docs 110

Chapter 8 Using TreeView Controls About this chapter This chapter describes how to use TreeView controls to present hierarchical information in an expandable list. Contents Topic About TreeView controls Populating TreeViews Managing TreeView items Managing TreeView pictures Using DataWindow information to populate a TreeView Document get from Powerbuilder help Thank you for watching.

Populating a graph with data – PB Docs 110

Populating a graph with data This section shows how you can populate an empty graph with data. Using AddSeries You use AddSeries to create a series. AddSeries has this syntax:

AddSeries returns an integer that identifies the series that was created. The first series is numbered 1, the second is 2, and so on….

Using Transaction objects to call stored procedures – PB Docs 110

Using Transaction objects to call stored procedures SQLCA is a built-in global variable of type transaction that is used in all PowerBuilder applications. In your application, you can define a specialized version of SQLCA that performs certain processing or calculations on your data. If your database supports stored procedures, you might already have defined remote…

Developing international applications – PB Docs 110

Developing international applications When you develop an application for deployment in multiple languages, you can take advantage of the Unicode support built into PowerBuilder. You also need to focus on two phases of the development process: The first is the internationalization phase, when you deal with design issues before you begin coding the application. The…

Creating an HTML page – PB Docs 110

Creating an HTML page After creating and building the PowerBuilder PBDs for your PowerBuilder window ActiveX application, you need to create the HTML page that displays it. To include a PowerBuilder window on a Web page, you use the Object element. Element attributes specify the class ID for the PowerBuilder window ActiveX, the space allocated…

Managing information in the Windows registry – PB Docs 110

Managing information in the Windows registry Functions for accessing the Registry PowerBuilder provides several functions you can use to manage application settings in the Windows registry. Table 38-2: PowerBuilder registry setting functions Function Description RegistryDelete Deletes a key or a value in a key in the Windows registry. RegistryGet Gets a value from the Windows…

Web DataWindow on EAServer – PB Docs 110

Web DataWindow on EAServer You can run the Web DataWindow server component on EAServer using JSP as the page server. The component transaction server and the page server can run on the same or on different computers. Files required on the transaction server Two types of files are required on the transaction server: The PBLs…

Examining a class definition – PB Docs 110

Examining a class definition This section illustrates how to access a class definition object and how to examine its properties to get information about the class, its scripts, and its variables. Getting a class definition object To work with class information, you need a class definition object. There are two ways to get a ClassDefinition…