XML namespaces – PB Docs 100
XML namespaces XML namespaces provide a way to create globally unique names to distinguish between elements and attributes with the same name but of different terminologies. For example, in an XML invoice document for a bookstore, the name “date” could be used by accounting for the date of the order and by order fulfillment for…
Chapter 41 Deploying Applications and Components – PB Docs 100
Chapter 41 Deploying Applications and Components About this chapter This chapter provides the information required to deploy applications and components to users’ computers and servers. It describes a tool you can use to package PowerBuilder runtime files, and lists the files you need to deploy with various kinds of targets. These lists of files sometimes…
Printing functions – PB Docs 100
Printing functions PowerScript provides predefined functions that you can use to generate simple and complex lists and reports. Using only three functions, you can create a tabular report in your printer’s default font. Using additional functions, you can create a report with multiple text fonts, character sizes, and styles, as well as lines and pictures….
Using Unicode – PB Docs 100
Using Unicode Unicode is a character encoding scheme that enables text display for most of the world’s languages. Support for Unicode characters is built into PowerBuilder. This means that you can display characters from multiple languages on the same page of your application, create a flexible user interface suitable for deployment to different countries, and…
Chapter 39 Building InfoMaker Styles and Actions – PB Docs 100
Chapter 39 Building InfoMaker Styles and Actions About this chapter This chapter explains how to build styles in PowerBuilder and provide them to InfoMaker users. Contents Topic About form styles Naming the DataWindow controls in a form style Building and using a form style Modifying an existing style Building a style from scratch Completing the…
About Transaction objects – PB Docs 100
About Transaction objects In a PowerBuilder database connection, a Transaction object is a special nonvisual object that functions as the communications area between a PowerBuilder application and the database. The Transaction object specifies the parameters that PowerBuilder uses to connect to a database. You must establish the Transaction object before you can access the database…
Referencing entities in descendants – PB Docs 100
Referencing entities in descendants When you declare a variable whose datatype is a kind of object, such as a window, you can use the variable to reference any entity defined in the object, but not in one of its descendants. Consider the following code:
1 |
w_customer mycust<br /><br />Open(mycust)<br />// The following statement is legal if<br />// w_customer window has a st_name control.<br />mycust.st_name.text = "Joe" |
mycust is declared as a variable of type w_customer (mycust…
Events for the PowerBuilder window ActiveX – PB Docs 100
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…
Generating EAServer proxy objects – PB Docs 100
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. An EJB component has two corresponding proxy objects in the client application–one for the home interface and one for the remote interface….
Developing international applications – PB Docs 100
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…