Sybase 2 Barcode Reader User Manual


 
CHAPTER 13 Working with TreeViews
DataWindow Designer User’s Guide 359
Creating a new TreeView DataWindow
You use the TreeView wizard and the DataWindow painter to create a
TreeView DataWindow.
TreeView creation process
A TreeView DataWindow has multiple levels, each of which is a node in the
TreeView. You use the TreeView wizard to create a TreeView DataWindow,
but the wizard produces a DataWindow that includes only the top level of the
TreeView.
Creating a complete TreeView DataWindow involves three steps:
1 Using the TreeView DataWindow wizard to create the top level (level 1)
of the TreeView DataWindow.
2 Using the DataWindow painter to add additional levels to the TreeView
DataWindow.
3 Setting TreeView DataWindow properties to customize the TreeView
style.
For information about adding and deleting TreeView levels, see “Adding and
deleting TreeView levels” on page 363. For information about setting
properties in the DataWindow painter, see “Setting properties for the TreeView
DataWindow” on page 367.
Creating a TreeView DataWindow
To create a TreeView DataWindow:
1 Select File>New from the menu bar and select the DataWindow tab.
2 Choose the TreeView presentation style for the DataWindow and click
OK.
3 Select the data source you want to use: Quick Select, SQL Select, Query,
External, ADO DataSet, or Stored Procedure.
You are prompted to specify the data.
4 Define the tables and columns you want to use.
You are prompted to specify the TreeView grouping columns.