Table Tree Properties 

The Table Tree object has the following properties:

Table Tree Properties

Name

Type

Description

Events

Long

Enables or disables events fired by the control.

Nodes

Object

Returns a Collection of Node objects. These nodes are the root nodes of the tree control. Read-only.

Indentation

Short

Width of hierarchy expander in pixels.

(See also the Width and Alignment properties of the Structure object.)

Structures

Object

Returns a collection of Structure objects. The Structure objects represent node properties: the set of properties applies to every node in the tree.

(See Configuring the Tree.)

HideSelection

Boolean

Indicates whether the selected Node or Item should be highlighted when the control does not own the focus.

ImageList

Object

A list of images used for displaying image items in the tree. The image list is the standard Windows ImageList object and is only available on 32 bit architectures (Windows 95 or Windows NT 3.51 or later). If no image list object is assigned, images are taken from a pre-defined image pool.

(See also Structure object and Node object.)

LabelEdit

Boolean

Indicates whether single items of a node object may be edited (not implemented yet).

PathSeparator

String

Separation character or string used in the FullPath property of the Node objects.

Scrollbars

CScrollType

Indicates the kind of scrollbars. The Scrollbars property does not force scrollbars immediately. If the correct values are set, the scrollbars appear automatically when the display size requires them. Otherwise scrollbars are not available. Possible values are:

   

ScrollTypeNone = 0

No scrollbars.

   

ScrollTypeHorizontal = 1

Vertical scrollbar visible when required.

   

ScrollTypeVertical = 2

Horizontal scrollbar visible when required.

   

ScrollTypeBoth = 3

Both scrollbars visible when required.

Sorted

Boolean

Indicates whether the tree should be sorted. Sorting is always done when the first property item in a node is a text item. (See also Structure object).

SelectedNode

Object

Returns the currently selected Node object. If no node is selected, Nothing is returned.

Read-only.

DragDrop

CDragDropType

Enables and disables drag-and-drop operations.

Font

Object

Font object used as default font.

ScreenUpdate

Boolean

Enables or disables screen updating. This property is useful if many nodes in the tree are being modified, inserted or deleted. Changing ScreenUpdate from FALSE to TRUE always forces a screen update, no matter whether data was changed or not.

BorderStyle

short

Sets the style of border. Possible value are:

   

Enable3D = 0

Draws a 3 D frame

   

Simpleframe = 1

Draws a simple frame

SelectMode

CTreeSelectMode

Sets the selection mode for single nodes and items

   

trvTreeModeLineSingle = 0

Only entire nodes may be selected

   

trvTreeModeLineMultiple = 1

Not implemented yet

   

trvTreeModeItemSingle = 2

Single items in a node may be selected

   

trvTreeModeItemMultiple = 3

Not implemented yet

TableInsertRoot

Object

Sets the parent node to insert a connected SAP Table object. (See also Connecting Tree Views and Table Objects.)