Using the inherited information – PB Docs 2017
Using the inherited information When you build and save a menu, PowerBuilder treats the menu as a unit that includes: All menu items and their scripts Any variables, functions, and structures declared for the menu When you use inheritance to build a menu, everything in the ancestor menu is inherited in all of its descendants….
Printing data – PB Docs 2017
Printing data You can print a DataWindow object while the Preview view is displayed. You can print all pages, a range of pages, only the current page, or only odd or even pages. You can also specify whether you want multiple copies, collated copies, and printing to a file. Avoiding large rows To avoid multiple…
Deciding which kind you want – PB Docs 2017
Deciding which kind you want When you design your application, you need to decide how you will use the functions you will define: If a function is general purpose and applies throughout an application, make it a global function. If a function applies only to a particular kind of object, make it an object-level function….
CDATA sections – PB Docs 2017
CDATA sections You can export the name of a column in a CDATA section using the syntax <![CDATA[columnname]]>. You can export the value of a column using the syntax <![CDATA[~t columnname]]>. The ~t is used to introduce a DataWindow expression, in the same way that it is used in the Modify method. You can also…
Objects – PB Docs 2017
Objects Your application is a collection of objects.For most targets, PowerBuilder provides many types of objects, including graphical objects such as windows, menus, and buttons, and nonvisual objects such as datastore, exception, and timing objects. As you work in your application, you create new objects and open existing objects to continue work on their development….
Viewing row information – PB Docs 2017
Viewing row information You can display information about the data you have retrieved. To display row information Select Rows>Described from the menu bar. The Describe Rows dialog box displays showing the number of: Rows that have been deleted in the Database painter but not yet deleted from the database Rows displayed in Preview Rows that…
Attributes – PB Docs 2017
Attributes Controls or expressions can also be referenced for element attribute values. Select Edit/Add Attribute from the pop-up menu for elements to edit an existing attribute or add a new one. For each attribute specified, you can select a control reference from the drop-down list or enter a literal text value. A literal text value…
View the connection settings – PB Docs 2017
View the connection settings The Git connection settings can be viewed in the Properties of Workspace dialog box, only after you add the workspace to Git using the Add to Source Control menu or get the workspace from Git using the Connect to Workspace menu. To view the connection settings of the Git source control…
Working with libraries – PB Docs 2017
Working with libraries Contents Displaying libraries and objects Using the pop-up menu Controlling columns that display in the List view Selecting objects Filtering the display of objects Creating and deleting libraries Filtering the display of libraries and folders Working in the current library Opening and previewing objects Copying, moving, and deleting objects Setting the root…
Refresh objects – PB Docs 2017
Refresh objects After the object is loaded into the PowerBuilder IDE, it might be changed outside of the PowerBuilder IDE, for example, the developer merges the changes from the other version using an SVN client, and such changes will not be detected by the PowerBuilder IDE, you will need to right click the object and…