Sybase 2 Barcode Reader User Manual


 
CHAPTER 4 Defining DataWindow Objects
DataWindow Designer User’s Guide 141
Defaults for string and
decimal datatypes
The System.String type does not always specify a maximum length. The length
of string columns defaults to 40 characters in the DataWindows. The
System.Decimal types do not specify a precision, and the precision defaults to
0 in the DataWindow. You can change these defaults in the Column
Specifications view in the DataWindow painter.
For more information about using DataSets with DataWindows, see the
DataWindow .NET Programmer’s Guide.
Choosing DataWindow object-wide options
You can set the default options, such as colors and borders, that DataWindow
Designer 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, TreeView,
and Crosstab. DataWindow Designer 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:
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.