Using rich text in an application – PB Docs 115
Using rich text in an application Rich text format (RTF) is a standard for specifying formatting instructions and document content in a single ASCII document. An editor that supports rich text format interprets the formatting instructions and displays the text with formatting. In an application, you may want to: Provide a window for preparing rich…
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 drop-down lists – PB Docs 115
Using drop-down lists Drop-down lists are another way to present simple lists of information to the user. You can present your lists with just text (in a DropDownListBox) or with text and pictures (in a DropDownPictureListBox). You add DropDownListBox and DropDownPictureListBox controls to windows in the same way you add other controls: select DropDownListBox or…
Using ListView controls – PB Docs 115
Using ListView controls A ListView control allows you to display items and icons in a variety of arrangements. You can display large icon or small icon freeform lists, or you can display a vertical static list. You can also display additional information about each list item by associating additional columns with each list item: ListView…
Chapter 10 Using Drag and Drop in a Window – PB Docs 115
Chapter 10 Using Drag and Drop in a Window About this chapter This chapter describes how to make applications graphical by dragging and dropping controls. Contents Topic About drag and drop Drag-and-drop properties, events, and functions Identifying the dragged control Document get from Powerbuilder help Thank you for watching.
Opening the sample applications – PB Docs 115
Opening the sample applications To open a sample application, select Programs>Sybase>PowerBuilder 11.5>Code Samples from the Start menu, then select the sample application that you want to open. For the Web DataWindow sample, there is no workspace or target file, and there is no link from the Start menu. However, you can still add it to…
About drag and drop – PB Docs 115
About drag and drop Drag and drop allows users to initiate activities by dragging a control and dropping it on another control. It provides a simple way to make applications graphical and easy to use. For example, in a manufacturing application you might allow the user to pick parts from a bin for an assembly…
Working with Transaction objects – PB Docs 115
Working with Transaction objects PowerBuilder uses a basic concept of database transaction processing called logical unit of work (LUW). LUW is synonymous with transaction. A transaction is a set of one or more SQL statements that forms an LUW. Within a transaction, all SQL statements must succeed or fail as one logical entity. There are…
How the synchronization works – PB Docs 115
How the synchronization works How MLSync events are implemented The MLSync object in a PowerBuilder application and the dbmlsync process communicate with each other by sending messages between two windows, as shown in Figure 13-2. The window that the MLSync object creates uses an internal function, MlSyncControlWindowProc, to process these messages. The Synchronize function adds…
Chapter 15 Manipulating Graphs – PB Docs 115
Chapter 15 Manipulating Graphs About this chapter This chapter describes how to write code that allows you to access and change a graph in your application at runtime. Contents Topic Using graphs Populating a graph with data Modifying graph properties Accessing data properties Using point and click Document get from Powerbuilder help Thank you for…