Opening Script views – PB Docs 105
Opening Script views If there is no open Script view, selecting a menu or PainterBar item that requires a Script view opens one automatically. If you want to edit more than one script at a time, you can open additional Script views from the View menu. To open a new Script view: Select View>Script from…
Chapter 3 Using Source Control – PB Docs 105
Chapter 3 Using Source Control About this chapter PowerBuilder provides a direct connection to external SCC-compliant source control systems as well as to the PowerBuilder native (PBNative) utility. This chapter describes how to work with source control. Contents Topic About source control systems Using a source control system with PowerBuilder Source control operations in PowerBuilder…
Defining queries – PB Docs 105
Defining queries A query is a SQL SELECT statement created in the Query painter and saved with a name so that it can be used repeatedly as the data source for a DataWindow object. Queries save time, because you specify all the data requirements just once. For example, you can specify the columns, which rows…
About source control systems – PB Docs 105
About source control systems This section provides an overview of source control systems and describes the PowerBuilder interface (API) to such systems. What source control systems do Source control systems (version control systems) track and store the evolutionary history of software components. They are particularly useful if you are working with other developers on a…
Rotating controls in a DataWindow object – PB Docs 105
Rotating controls in a DataWindow object Controls that display text such as text controls, columns, and computed fields can be rotated from the original baseline of the text. The Escapement option on the Font property page for the control lets you specify the amount of rotation, also known as escapement. Several other properties of a…
Placing a nested report in another report – PB Docs 105
Placing a nested report in another report When you place a nested report in another report, the two reports can be independent of each other, or they can be related in the database sense by sharing some common data such as a customer number or a department number. If the reports are related, you need…
Providing toolbars – PB Docs 105
Providing toolbars To make your application easier to use, you can add toolbars with buttons that users can click as a shortcut for choosing an item from a menu. In PowerBuilder, you can associate a toolbar with the window types listed in Table 14-4. Table 14-4: Window types that can use toolbars Window type Description…
Moving and resizing controls – PB Docs 105
Moving and resizing controls There are several ways to move and resize controls in the Layout view. Moving and resizing controls using the mouse To move a control, drag it with the mouse to where you want it. To resize a control, select it, then grab an edge and drag the edge with the mouse….
Using user objects – PB Docs 105
Using user objects Once you have built a user object, you are ready to use it in an application. This section describes how to use: Visual user objects Class user objects Using visual user objects You use visual user objects by placing them in a window or in a custom visual user object. The techniques…
Chapter 18 Defining DataWindow Objects – PB Docs 105
Chapter 18 Defining DataWindow Objects About this chapter The applications you build are centered around your organization’s data. This chapter describes how to define DataWindow objects to display and manipulate the data. Contents Topic About DataWindow objects Choosing a presentation style Building a DataWindow object Selecting a data source Using Quick Select Using SQL Select…