PB Docs 2017

Using lists – PB Docs 2017

Using lists You can use lists to present information to the user in simple lists with scroll bars. 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…

Delivering your application to end users – PB Docs 2017

Delivering your application to end users Contents Installation checklist Starting the deployed application 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…

Creating MobiLink users – PB Docs 2017

Creating MobiLink users MobiLink users are not the same as database users. Each type of user resides in a different namespace. MobiLink user IDs can match the names of database users, but there is no requirement that they match. To add a MobiLink user to a remote database in SQL Central: Connect to SQL Central…

Using a RichText DataWindow object – PB Docs 2017

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…

Context information – PB Docs 2017

Context information Contents Context information service Context keyword service CORBACurrent service (obsolete) Error logging service Internet service Transaction server service The PowerBuilder context feature allows applications to access certain host (non-PowerBuilder) services. This is a PowerBuilder implementation of functionality similar to the COM QueryInterface. PowerBuilder provides access to the following host services: Context information service…

About MobiLink synchronization – PB Docs 2017

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 Administration,…

Drag-and-drop properties, events, and functions – PB Docs 2017

Drag-and-drop properties, events, and functions Drag-and-drop properties Each PowerBuilder control has two drag-and-drop properties: DragAuto DragIcon The DragAuto property DragAuto is a boolean property. Value Meaning TRUE When the object is clicked, the control is placed automatically in drag mode FALSE When the object is clicked, the control is not placed automatically in drag mode;…

PowerBuilder techniques – PB Docs 2017

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 address usage. Implementing inheritance PowerBuilder makes…

Opening, closing, and hiding tab pages – PB Docs 2017

Opening, closing, and hiding tab pages You can open tab pages in a script. You can close tab pages that you opened, but you cannot close tab pages that were inserted in the painter. You can hide any tab page. This example opens a tab page of type tabpage_listbox and stores the object reference in an…

Distributed application architecture – PB Docs 2017

Distributed application architecture Distributed application development, also called multitier development, offers a natural way to separate the user interface components of an application from the business logic that the application requires. By centralizing business logic on a middle-tier server, you can reduce the workload on the client and control access to sensitive information. In a…