About presenting lists – PB Docs 115
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 2 Selected Object-Oriented Programming Topics – PB Docs 115
Chapter 2 Selected Object-Oriented Programming Topics About this chapter This chapter describes how to implement selected object-oriented programming techniques in PowerBuilder. Contents Topic Terminology review PowerBuilder techniques Other techniques Document get from Powerbuilder help Thank you for watching.
Using a RichText DataWindow object – PB Docs 115
Using a RichText DataWindow object This section discusses: How scrolling differs from other DataWindow styles Problems you may encounter with default values for new rows What happens when the user makes changes Scrolling In a RichText DataWindow object, the rich text can consist of more than one page. A row of data can be associated…
PowerBuilder Runtime Packager – PB Docs 115
PowerBuilder Runtime Packager The PowerBuilder Runtime Packager is a tool that packages the PowerBuilder files an application needs at runtime into a Microsoft Windows Installer (MSI) package file. Windows Installer is an installation and configuration service that is installed with more recent Microsoft Windows operating systems. You can use the MSI file generated by the…
Stopping a print job – PB Docs 115
Stopping a print job There are two ways to stop a print job. The normal way is to close the job by calling the PrintClose function at the end of the print job. The other way is to cancel the job by calling PrintCancel. Using PrintClose PrintClose sends the current page to the printer or…
About window instances – PB Docs 115
About window instances When you build an application, you may want to display several windows that are identical in structure but have different data values. For example, you may have a w_employee window and want to display information for two or more employees at the same time by opening multiple copies (instances) of the w_employee…
About building COM and COM+ components – PB Docs 115
About building COM and COM+ components You can develop a custom class user object containing business logic in PowerBuilder and then package the object as a COM server or COM+ application. On platforms that support COM+, such as Windows XP, you can build COM+ applications and deploy them to COM+. The rest of this chapter…
Referencing entities in descendants – PB Docs 115
Referencing entities in descendants When you declare a variable whose datatype is a kind of object, such as a window, you can use the variable to reference any entity defined in the object, but not in one of its descendants. Consider the following code:
1 |
w_customer mycust<br /> <br />Open(mycust)<br />// The following statement is legal if<br />// w_customer window has a st_name control.<br />mycust.st_name.text = "Joe" |
mycust is declared as a variable of type w_customer (mycust…
Chapter 27 Building a COM or COM+ Client – PB Docs 115
Chapter 27 Building a COM or COM+ Client About this chapter This chapter explains how to build a PowerBuilder client that accesses a COM or COM+ server component. Contents Topic About building a COM or COM+ client Connecting to a COM server Interacting with the COM component Controlling transactions from a client Document get from…
Ancestor and descendent variables – PB Docs 115
Ancestor and descendent variables All objects in PowerBuilder are descendants of PowerBuilder system objects—the objects you see listed on the System page in the Browser. Therefore, whenever you declare an object instance, you are declaring a descendant. You decide how specific you want your declarations to be. As specific as possible If you define a…