Powerbuilder Documentation 11.5

Powerbuilder Documentation 11.5

Managing TreeView pictures – PB Docs 115

Managing TreeView pictures PowerBuilder stores TreeView images in three image lists: Picture list (called the regular picture list here) State picture list Overlay picture list You add pictures to these lists and associate them with items in the TreeView. Pictures for items There are several ways to use pictures in a TreeView. You associate a…

About MobiLink synchronization – PB Docs 115

About MobiLink synchronization MobiLink is a session-based synchronization system that allows two-way synchronization between a main database, called the consolidated database, and many remote databases. This section introduces some MobiLink terms and concepts. Where to find additional information Detailed information about MobiLink synchronization is provided in the MobiLink Getting Started , the MobiLink – Client…

Populating a graph with data – PB Docs 115

Populating a graph with data This section shows how you can populate an empty graph with data. Using AddSeries You use AddSeries to create a series. AddSeries has this syntax:

AddSeries returns an integer that identifies the series that was created. The first series is numbered 1, the second is 2, and so on….

Delivering your application to end users – PB Docs 115

Delivering your application to end users When you deliver the executable version of your application to users, you need to install all of the various files and programs in the right places, such as on their computers or on the network. Automating the deployment process If you want to automate the deployment process, you might…

Printing basics – PB Docs 115

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….

Using toolbars in MDI applications – PB Docs 115

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 Users Guide . Customizing toolbar behavior Disabling toolbar buttons To disable a toolbar button, you need…

Managing TreeView items – PB Docs 115

Managing TreeView items An item in a TreeView is a TreeViewItem structure. The preceding section described how to set the item’s properties in the structure and then insert it into the TreeView. This code declares a TreeViewItem structure and sets several properties:

For information about Picture properties, see “Managing TreeView pictures”. When you insert…

Building an MDI frame window – PB Docs 115

Building an MDI frame window When you create a new window in PowerBuilder, its default window type is Main. Select mdi! or mdihelp! on the General property page to change the window to an MDI frame window. Using menus When you change the window type to MDI, you must associate a menu with the frame….

How the PowerBuilder COM object executes – PB Docs 115

How the PowerBuilder COM object executes To establish an instance of a PowerBuilder COM object, the PowerBuilder virtual machine (PBVM115.DLL) loads the custom class object from the PBD embedded in the COM server DLL and creates the proper session and instance information. When a client invokes a PowerBuilder COM object method, the method calls back…

Interacting with the COM component – PB Docs 115

Interacting with the COM component Invoking component methods Once a connection to a COM component has been established, the client application can begin using the component methods. Use the REF keyword for output parameters You must use the REF keyword when you call a method on a COM object that has an output parameter. For…