Choosing DataWindow object-wide options

You can set the default options, such as colors and borders, that PocketBuilder uses in creating the initial draft of a DataWindow object.

DataWindow generation options are for styles that use a layout made up of bands, which include Freeform, Grid, Tabular, and Group. PocketBuilder maintains a separate set of options for each of these styles.

When you first create a DataWindow object with one of these styles, you can choose options in the wizard and save your choices as the future defaults for the style you select.

Table 17-6: Properties for the DataWindow presentation style that you select

Property

Meaning for the DataWindow object

Background color

The default color for the background.

Text border and color

The default border and color used for labels and headings.

Column border and color

The default border and color used for data values.

Wrap Height (Freeform only)

The height of the detail band.

When the value is None, the number of columns selected determines the height of the detail band. The columns display in a single vertical line.

When the value is set to a number, the detail band height is set to the number specified and columns wrap within the detail band.

StepsTo specify default colors and borders for a style:

  1. Select Design>Options from the menu bar.

    The DataWindow Options dialog box displays.

  2. Select the Generation tab page if it is not on top.

  3. Select the presentation style you want from the Presentation Style drop-down list.

    The values for properties shown on the page are for the currently selected presentation style.

  4. Change one or more of the presentation style properties and click OK.

    PocketBuilder saves your generation option choices as the defaults to use when creating a DataWindow object with the same presentation style.