Choosing DataWindow object-wide options
You can set the default options, such as colors and borders,
that PowerBuilder 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, Label, N-Up, Tabular,
Group, and Crosstab. PowerBuilder maintains a separate set of options
for each of these styles.
When you first create any of these style DataWindow objects, you
can choose options in the wizard and save your choices as the future
defaults for the style.
To specify default colors and borders for a style:
-
Select Design>Options from the
menu bar.The DataWindow Options dialog box displays.
-
Select the Generation tab page if it is not on
top. -
Select the presentation style you want from the
Presentation Style dropdown listbox.The values for properties shown on the page are for the currently
selected presentation style. -
Change one or more of the following properties:
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 headingsColumn border and color The default border and color used for
data valuesWrap Height (Freeform only) The height of the detail bandWhen the value is None, the number of columns selected determines
the height of the detail band. The columns display in a single vertical
lineWhen the value is set to a number, the detail band height
is set to the number specified and columns wrap within the detail
band
About color selections If you select Window Background, Application Workspace, Button
Face, or Window Text from the Color dropdown listbox, the DataWindow object will
use the colors specified for the windowing environment in which
the DataWindow object is running. - Click OK.
Your choices are saved
PowerBuilder saves your generation option choices as the defaults
to use when creating a DataWindow object with the same presentation style.