StateIconAlignMode

Description

The vertical alignment of the state icon. The state icon is a plus (+) or minus (-) sign that indicates whether the tree node is in a collapsed or expanded state.

Applies to

TreeView DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Tree.StateIconAlignMode

Describe and Modify argument:

"DataWindow.Tree.StateIconAlignMode { = value }”

Parameter

Description

value

A long value that indicates how the state icon is aligned vertically with respect to the TreeView level band. Values are:

  • 0 – Middle (default).

  • 1 – Top.

  • 2 – Bottom.

Usage


In the painter

Select a value from the State Icon Align Mode drop-down list on the General page in the Properties view.

Examples

Example 1

[Visual Basic]
ls_StateIconAlignMode = dw_1.Object.DataWindow.Tree.StateIconAlignMode