Sybase 2 Barcode Reader User Manual


 
CHAPTER 13 Working with TreeViews
DataWindow Designer User’s Guide 369
Setting TreeView level properties
In the Properties view, you can specify expanded and collapsed icons for each
TreeView level. You access the Properties view by clicking the bar identifying
the band for that level in the Design view in the DataWindow painter. You can
also access the Properties view from the Rows menu, or by clicking any of the
icons in the Design view that represent the locations of nodes, icons, and
connecting lines. (See “Icons in the Design view” on page 366.)
To modify properties for a level in a TreeView DataWindow:
1 Select Rows>Edit TreeView Level from the menu bar and then select the
number of the level from the list of levels, or click the bar identifying the
band for that level or any of the icons in that band.
Row Resize Rows can be resized at runtime.
Indent Value The indent value of the child node from its parent in
the units specified for the DataWindow. The indent
value defines the position of the state icon. The X
position of the state icon is the X position of its parent
plus the indent value.
Expand To Level By Default Expand to TreeView level 1, 2, or 3.
State Icon Align Mode Align the state icon in the middle (0), at the top (1),
or at the bottom (2).
Show Lines Whether lines display that connect parent nodes and
child nodes. If you want to display lines that connect
the rows in the detail band to their parent, select
Connect Leaf Nodes.
Connect Leaf Nodes Whether lines display that connect the leaf nodes in
the detail band rows.
Use Tree Node Icon Whether an icon for the tree node displays. This
applies to icons in the level and detail bands. For how
to specify icon images, see “Setting TreeView level
properties” and "Setting detail band properties" next.
Select Node By Mouse Whether a Tree node is selected by clicking the Tree
node with the mouse.
Property Description