Preparing consolidated databases – PB Docs 105
Preparing consolidated databases Whether you are designing a new database or preparing an existing one to be used as a MobiLink consolidated database, you must install the MobiLink system tables in that database. SQL Anywhere provides setup scripts for Sybase Adaptive Server Enterprise, Oracle, Microsoft SQL Server, and IBM DB2. A setup script is not…
Performing some initial housekeeping – PB Docs 105
Performing some initial housekeeping Now that you have the basic objects you need, you are ready to start writing code to make your pipeline work in the application. To begin, you must take care of some setup chores that will prepare the application to handle pipeline execution. To get the application ready for pipeline execution:…
PowerBuilder techniques – PB Docs 105
PowerBuilder techniques PowerBuilder provides full support for inheritance, encapsulation, and polymorphism in both visual and nonvisual objects. Creating reusable objects In most cases, the person developing reusable objects is not the same person using the objects in applications. This discussion describes defining and creating reusable objects. It does not address usage. Implementing inheritance PowerBuilder makes…
Java support – PB Docs 105
Java support You must deploy the PowerBuilder pbjvm105.dll file with any applications or components that use the Java Runtime Environment (JRE), and there must be a JRE installed on the target computer. The JRE is required for JSP targets, EJB clients, JDBC connections, and saving as PDF using XSL-FO. You can copy the JRE installed…
Printing basics – PB Docs 105
Printing basics All printing is defined in terms of the print area. The print area is the physical page size less any margins. For example, if the page size is 8.5 inches by 11 inches, and the top, bottom, and side margins are all a half-inch, the print area is 7.5 inches by 10 inches….
About presenting lists – PB Docs 105
About presenting lists You can choose a variety of ways to present lists in your application: ListBoxes and PictureListBoxes display available choices that can be used for invoking an action or viewing and displaying data. DropDownListBoxes and DropDownPictureListBoxes also display available choices to the user. However, you can make them editable to the user. DropDownListBoxes…
Chapter 8 Using TreeView Controls – PB Docs 105
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.
Using toolbars in MDI applications – PB Docs 105
Using toolbars in MDI applications This section describes some techniques you can use to customize the behavior of your toolbars and save and restore toolbar settings. For information about how to define and use menus and toolbars, see the User’s Guide . Customizing toolbar behavior Disabling toolbar buttons To disable a toolbar button, you need…
Implementing an existing interface – PB Docs 105
Implementing an existing interface You can create PowerBuilder implementations of existing interfaces using the EAServer Component Wizard on the Target or PB Object tab in the New dialog box. A typical use of this feature is to create an implementation of a standard API, such as the protocols for online banking and securities trading that…
Sample registry update file – PB Docs 105
GenerateTypeLib function Description Creates a file with type library information for a PowerBuilder object you are deploying as an automation server. Controls PowerBuilder.Application (automation server) Syntax
|
1 |
{ <i>automationobject</i>.} GenerateTypeLib ( <i>classguid</i>, <i>classname</i>, <i>progid</i>, <br /> <i>localeid</i>, <i>majorversion</i>, <i>minorversion</i>, <i>description</i>, <i>helpcontext</i>,<br /> <i>helpfile</i>, <i>typelibguid</i>, <i>typelibfilename</i>, <i>registryfilename</i> ) |
Argument Description automationobject When PowerBuilder is the OLE client, the name of the OLEObject instantiated with the PowerBuilder.Application automation server. For other clients, use syntax appropriate for calling…