Powerbuilder Documentation 12.6

Powerbuilder Documentation 12.6

In the development environment – PB Docs 126

In the development environment In the development environment, you can specify how you want the targets in your workspace to be built and deployed. Then you can build individual targets or all the targets in the workspace. Table 1-3 summarizes where you set up build and deploy options, and how you start builds. Table 1-3:…

HScrollBar and VScrollBar – PB Docs 126

HScrollBar and VScrollBar You can place freestanding scroll bar controls within a window. Typically, you use these controls to do one of the following: Act as a slider control with which users can specify a continuous value Graphically display information to the user You can set the position of the scroll box by specifying the…

Using the Graph and Crosstab styles – PB Docs 126

Using the Graph and Crosstab styles In addition to the (preceding) text-based presentation styles, PowerBuilder provides two styles that allow you to display information graphically: Graph and Crosstab. There is a graph report in the composite report in “Using the Composite style”. This crosstab report counts the number of employees that fit into each cell….

The inheritance hierarchy – PB Docs 126

The inheritance hierarchy When you build an object that inherits from another object, you are creating a hierarchy (or tree structure) of ancestor objects and descendent objects. Chapter 11, “Working with Windows,” uses the example of creating two windows, w_customer and w_employee, that inherit their properties from a common ancestor, w_ancestor. In this example, w_employee…

Setting General properties for menu items – PB Docs 126

Setting General properties for menu items This section describes the properties you can set when you select a menu item and then select the General tab page in the Properties view. Creating MicroHelp and tags MicroHelp is a brief text description of the menu item that displays on the status bar at the bottom of…

Selecting columns – PB Docs 126

Selecting columns You can click each column you want to include from the table representations in the Table Layout view. PowerBuilder highlights selected columns and places them in the Selection List at the top of the SQL Select painter. To reorder the selected columns: Drag a column in the Selection List with the mouse. Release…

Drawing controls – PB Docs 126

Drawing controls PowerBuilder provides the following drawing controls: Line, Oval, Rectangle, and RoundRectangle. Drawing controls are usually used only to enhance the appearance of a window or to group controls. However, constructor and destructor events are available, and you can define your own unmapped events for a drawing control. A drawing control does not receive…

GroupBox – PB Docs 126

GroupBox You use a GroupBox to group a set of related controls. When a user tabs from another control to a GroupBox, or selects a GroupBox, the first control in the GroupBox gets focus. To tab between controls in a GroupBox, set the tab value of the GroupBox to 0 and assign a tab value…

Using the individual controls – PB Docs 126

Using the individual controls There are four basic types of controls with different purposes. Table 12-2: Summary of control types by function Function Controls include Invoke actions CommandButtons, PictureButtons, PictureHyperLinks, StaticHyperLinks, Tabs, User Objects Display or accept data, or both ListBoxes, PictureListBoxes, DropDownListBoxes, DropDownPictureListBoxes, DataWindow controls, StaticText, ListViews, TreeViews, RichTextEdit, Graphs, Pictures, ProgressBars, ScrollBars, SingleLineEdits,…

SingleLineEdit and MultiLineEdit – PB Docs 126

SingleLineEdit and MultiLineEdit A SingleLineEdit is a box in which users can enter a single line of text. A MultiLineEdit is a box in which users can enter more than one line of text. SingleLineEdits and MultiLineEdits are typically used for input and output of data. For these controls, you can specify many properties, including:…