Indent

Applies to

TreeView controls

Description

The Indent property specifies how far each level of the TreeView is indented. The numeric value you type is the indentation amount in PowerBuilder units.

Usage

In a painter

To set the indentation of items in a tree view control:

  • Enter the amount of the indentation, in PowerBuilder units, in the Indentation field of the General page of the control's Properties view.

In scripts

The Indent property takes an integer value. The following script sets an indentation of 100 PowerBuilder units:

tv_1.Indent = 100