Structure Object Properties 

The Structure object has the following properties:

Structure Object Properties

Name

Type/Parameter

Description

Type

CTreeStructureType

Defines the type of the Structure item.

Alignment

CTreeStructureAlign

Defines the alignment of the structure item.

Width

Short

The width of the structure item in pixel. Only necessary if the Alignment property is not trvTreeAlignAuto.

Name

String

The name of the item.

(See also Configuring the Tree).

Hidden

Boolean

Indicates whether the structure item should be displayed.

Index

Long

Returns the index of the object in the structures collection. Read-only.

TableIndex

Long

Returns the index of the corresponding column in the SAP Table object, if the control was added to the SAP Table object’s Views collection (see also Connecting Tree Views and Table Objects).

HasFocusRect

Boolean

Indicates whether the structure item contributes to the focus rectangle drawn around the selected Node and items.

ExpandOnDblClick

Boolean

Indicates whether the node is expanded if the item is double-clicked.