Structure Object Property: Type 
Purpose
Specifies the type of a Structure object.
Return Value
type CTreeStructureType.
Description
There are three valid values for the Type property:
Type property values
Value |
Description |
Default Appearance | |
trvTreeStructureHierarchy = 0 |
Defines a hierarchy item. This item does not store any data but returns the Level of a Node. This type may only be used as first structure object in a Structures collection. The name of the item is always forced to be ‘Level’. The corresponding node’s Level property is always read-only. |
| |
TreeStructureImage = 1 |
Defines an image item. A node may contain as many different image items as desired. The corresponding dynamic node property is read/write and may store any variant data which may be converted to an Integer. This value is used as index in the ImageList or may be -1 for the default icons. |
|
Default icons depending on the type of the node. |
TreeStructureText = 2 |
Defines a text item. A node may contain as many different text items as desired. The corresponding dynamic node property is read/write and may store any variant data which may be converted to a String. Text items are displayed with the font assigned to the node object’s font property. If this property is not assigned, the font of the root object is used. |
Text
Text …. |
Default text depending on the chosen font and type of a node. |