Rich text and the end user – PB Docs 115
Rich text and the end user All the editing tools described throughout this chapter and in the chapter on working with rich text in the PowerBuilder Users Guide can be made available to your users. What users can do Users can: Use the toolbars for text formatting Use the pop-up menu, which includes using the…
Chapter 13 Using MobiLink Synchronization – PB Docs 115
Chapter 13 Using MobiLink Synchronization About this chapter This chapter supplements the introduction to MobiLink synchronization presented in the database management chapter of the Users Guide . It provides additional background on the synchronization process and the use of objects generated by the MobiLink synchronization wizard. It also discusses how to create synchronization objects without…
Using graphs – PB Docs 115
Using graphs In PowerBuilder, there are two ways to display graphs: In a DataWindow, using data retrieved from the DataWindow data source In a graph control in a window or user object, using data supplied by your application code This chapter discusses the graph control and describes how your application code can supply data for…
Creating an executable version of your application – PB Docs 115
Creating an executable version of your application The next few sections tell you more about the packaging process and provide information to help you make choices about the resulting application. They cover: Compiler basics What can go in the package How to choose a packaging model How to implement your packaging model How to test…
Printing functions – PB Docs 115
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….
PowerBuilder extensions – PB Docs 115
PowerBuilder extensions Several PowerBuilder extension files are provided with PowerBuilder 11.5. If your application uses one of these extensions, you must deploy the files listed in Table 37-12. Table 37-12: Files required for PowerBuilder built-in extensions Extension Files PowerBuilder Document Object Model pbdom115.pbx, PBXerces115.dll, xerces-c_2_6.dll, xerces-depdom_2_6.dll EJB client pbejbclient115.pbx, pbejbclient115.jar SOAP client for Web services…
Populating TreeViews – PB Docs 115
Populating TreeViews You must write a script to add items to a TreeView. You cannot add items in the painter as with other list controls. Although you can populate all the levels of the TreeView at once, TreeView events allow you to populate only branches the user looks at, which saves unnecessary processing. Typically, you…
About MDI – PB Docs 115
About MDI Multiple Document Interface (MDI) is an application style you can use to open multiple windows (called sheets) in a single window and move among the sheets. To build an MDI application, you define a window whose type is MDI Frame and open other windows as sheets within the frame. Most large-scale Windows applications…
Building COM/COM+ components in the Project painter – PB Docs 115
Building COM/COM+ components in the Project painter You build PowerBuilder COM servers in the Project painter. If you did not create a project when you created the user object, you can use the COM/COM+ Project wizard to create one. You can also set up a project to build a COM component directly in the Project…
Controlling access for instance variables – PB Docs 115
Controlling access for instance variables Instance variables have access settings that provide control over how other objects’ scripts access them. You can specify that a variable is: Public Accessible to any other object Protected Accessible only in scripts for the object and its descendants Private Accessible in scripts for the object only For example:
|
1 |
public integer ii_currentvalue<br />CONSTANT public integer WARPFACTOR = 1.2<br />protected string is_starship<br /> <br />// Private values used in internal calculations<br />private integer ii_maxrpm<br />private integer ii_minrpm |
…