Powerbuilder Documentation 8.0

Powerbuilder Documentation 8.0

Working with objects – PB Docs 80

Working with objects In PowerScript targets, you can: Create new objects Create new objects using inheritance Open existing objects Run or preview objects After you create or open an object, the object displays in its painter and you work on it there. Creating new objects To create new objects, you use the New dialog box….

Building an executable file and dynamic libraries – PB Docs 80

Building an executable file and dynamic libraries Once you have completed development and defined your project, you build the project to create the executable files and all specified dynamic libraries. You can build your project anytime you have made changes to the objects and want to test or deploy another version of your application. This…

Changing text – PB Docs 80

Changing text There are two ways to manipulate text for a control: Use the Properties view tab pages to specify text and font for a control Use the Window painter StyleBar to change: The text itself The font, point size, and characteristics such as bold The alignment of text within the control (except that text…

About the Script view – PB Docs 80

About the Script view You use the Script view to code functions and events, define your own functions and events, and declare variables and external functions. Script views are part of the default layout in the Application, Window, User Object, Menu, and Function painters. In Application, Window, and User Object painters the initial layout has…

Specifying the unique key columns – PB Docs 80

Specifying the unique key columns The Unique Key Columns box in the Specify Update Properties dialog box specifies which columns PowerBuilder uses to identify a row being updated. PowerBuilder uses the column or columns you specify here as the key columns when generating the WHERE clause to update the database (as described below): The key…

Chapter 9 Working with Structures – PB Docs 80

Chapter 9 Working with Structures About this chapter This chapter describes how to build and use structures. Contents Topic About structures Defining structures Modifying structures Using structures Document get from Powerbuilder help Thank you for watching.

About displaying and validating data – PB Docs 80

About displaying and validating data When PowerBuilder generates a basic DataWindow object, it uses the extended attributes defined for the data and stored in the extended attribute system tables. For more information about the extended attribute system tables, see Appendix A, “The Extended Attribute System Tables”. In the Database painter, you can create the extended…

Associating data with a crosstab – PB Docs 80

Associating data with a crosstab You associate crosstab columns, rows, and cell values with columns in a database table or other data source. To associate data with a crosstab: If you are defining a new crosstab, the Define Crosstab Rows, Columns, Values dialog box displays after you specify the data source. Specify the database columns…

Example 1: creating a gray bar effect – PB Docs 80

Example 1: creating a gray bar effect The following DataWindow object shows alternate rows with a light gray bar. The gray bars make it easier to track data values across the row: Adding a rectangle control To create the gray bar effect, you would add a rectangle control to the detail band and size it…

Working with inherited objects – PB Docs 80

Working with inherited objects This section describes: Working in a descendent object Working in an ancestor object Resetting properties in a descendant Working in a descendent object You can change descendent objects to meet their specialized needs. For example, you can: Change properties of the descendent object Change properties of inherited controls in the object…