Indent

Description

The position 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. The icon’s indent indicates the level of the node in the tree.

Applies to

TreeView DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Tree.Indent

Describe and Modify argument:

"DataWindow.Tree.Indent = {value }"

Parameter

Description

value

A long value in the units specified for the DataWindow that defines the position of the state icon. The X position of the state icon is the X position of its parent plus value.

Usage


In the painter

Select or enter a value in the Indent Value box on the General page in the Properties view.

Examples

Example 1

[Visual Basic]
ls_indent = dw_1.Object.DataWindow.Tree.indent
dw_1.Object.DataWindow.Tree.indent = 80