Powerbuilder Documentation 11.0

Powerbuilder Documentation 11.0

About presenting lists – PB Docs 110

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…

Declaring instances of windows – PB Docs 110

Declaring instances of windows Because a window is actually a datatype, you can declare variables of that datatype, just as you can declare integers, strings, and so on. You can then refer to those variables in code. For example:

declares a variable named mywin of type w_employee. Limitation of using variables When you declare…

About XML and PowerBuilder – PB Docs 110

About XML and PowerBuilder PowerBuilder provides several features that enable you to work with the Extensible Markup Language (XML). You can: Export the data in a DataWindow object to XML, and import data in an XML document or string into a DataWindow object Determine whether an XML document or string is well-formed or conforms to…

Chapter 36 Building Accessible Applications – PB Docs 110

Chapter 36 Building Accessible Applications About this chapter This chapter provides information about guidelines and requirements for making applications accessible to users with disabilities. It explains what features PowerBuilder offers to support the creation of accessible applications, and it includes pointers to additional sources of information. Contents Topic Understanding accessibility challenges Accessibility requirements for software…

Synchronization techniques – PB Docs 110

Synchronization techniques This section highlights some issues that you need to consider when designing an application that uses MobiLink synchronization. Limiting data downloads One of the major goals of synchronization is to increase the speed and efficiency of data movement by restricting the amount of data moved. To limit the data transferred by the download_cursor…

Printing basics – PB Docs 110

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

Database connections – PB Docs 110

Database connections If you are deploying an executable or component that accesses a database, your users need access to the DBMS and to the database your application uses. Where to install database connectivity files You do not need to deploy database connectivity files with a client application that relies on a middle-tier component on another…

Completing the style – PB Docs 110

Completing the style To complete your form style, enhance the window and menu to provide the processing you want. For example, you can: Work with the central DataWindow control Add controls to the window Define actions (functions that appear as actions in your form style) Modify the menu and its associated toolbar Write scripts for…

Accessing a database from a COM component – PB Docs 110

Accessing a database from a COM component To take advantage of COM+ support for transaction management, you need to use one of the database interfaces supported by COM+ to connect to your database. For more information about database connections for components developed in PowerBuilder, see Connecting to Your Database . COM components developed in PowerBuilder…

Chapter 25 Building an EAServer Client – PB Docs 110

Chapter 25 Building an EAServer Client About this chapter This chapter explains how to build a PowerBuilder client that accesses an EAServer component. For information about secure connections, see Chapter 26, “Using SSL in PowerBuilder clients.” Contents Topic About building an EAServer client Connecting to EAServer Generating EAServer proxy objects Invoking component methods Using the…