DataWindow Web control for ActiveX – PB Docs 80
DataWindow Web control for ActiveX The following file must be deployed to your Web server if you are using the DataWindow Web control for ActiveX: Name Required for PSDWC80.CAB CAB file containing an Open Software Distribution information file, DLLs for the Web ActiveX and the Transaction control, and Java class files for the JDBC driver…
Using listboxes – PB Docs 80
Using listboxes You can use listboxes to present information to the user in simple lists with scrollbars. You can present this information with text and pictures (in a PictureListBox) or with text alone (using a ListBox). Depending on how you design your application, the user can select one or more list items to perform an…
Chapter 7 Using Tab Controls in a Window – PB Docs 80
Chapter 7 Using Tab Controls in a Window About this chapter This chapter describes how to use Tab controls in your application. Contents Topic About Tab controls Defining and managing tab pages Customizing the Tab control Using Tab controls in scripts Document get from Powerbuilder help Thank you for watching.
PowerBuilder automation servers – PB Docs 80
PowerBuilder automation servers To use a PowerBuilder automation server, the following files need to be deployed: The PBD or DLL containing the implementation of the automation server The generated type library file if you chose to create one or, if you built a named server, the PBAEN80.TLB file that provides type library information for PowerBuilder.Application…
Building the objects you need – PB Docs 80
Building the objects you need To implement data piping in an application, you need to build a few different objects: A Pipeline object A supporting user object A window Building a Pipeline object You must build a Pipeline object to specify the data definition and access aspects of the pipeline that you want your application…
Managing TreeView items – PB Docs 80
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:
1 |
TreeViewItem tvi_defined |
1 |
tvi_defined.Label = "Symphony No. 3 Eroica" |
1 |
tvi_defined.StatePictureIndex = 0 |
1 |
tvi_defined.PictureIndex = 3 |
1 |
tvi_defined.SelectedPictureIndex = 4 |
1 |
tvi_defined.OverlayPictureIndex = 0 |
1 |
tvi_defined.Children = TRUE |
For information about Picture properties, see “Managing TreeView pictures”. When you insert…
Internationalization – PB Docs 80
Internationalization When you build an application for international deployment, there are user interface design issues you should consider. User interface design There are two issues to keep in mind when you design the user interface: The physical design of the user interface The cultural standards of your application’s audience Physical design Some guidelines for the…
PowerBuilder techniques – PB Docs 80
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 discuss usage. Implementing inheritance PowerBuilder makes…
Handling errors – PB Docs 80
Handling errors PowerBuilder provides three layers of error handling that can be used by clients connecting to EAServer: A mechanism, using try/catch/finally blocks, for handling exceptions thrown by components running in EAServer. All system and runtime errors are converted into objects that descend from the type RuntimeError. The Error event on the Connection and JaguarORB…
Using MAPI – PB Docs 80
Using MAPI To use MAPI, you create a MailSession object, then use the MailSession functions to manage it. For example:
1 |
MailSession PBmail |
1 |
PBmail = CREATE MailSession |
1 |
1 |
PBmail.MailLogon(...) |
1 |
... // Manage the session: send messages, |
1 |
... // receive messages, and so on. |
1 |
PBmail.MailLogoff() |
1 |
1 |
DESTROY PBmail |
You can use the Browser to get details about the attributes and functions of the MailSession system object, the attributes of the mail-related structures, and the valid values of the mail-related enumerated data types….