SftTree/OCX 7.0

SftTreeItems.TreeLineStyle Property

Softel vdm, Inc.

Defines the current tree line display style.

Syntax       

 

Get

VB.NET

Style = object.TreeLineStyle  As SftTreeTreeLineStyleConstants

VB

Style = object.TreeLineStyle  As SftTreeTreeLineStyleConstants

C#.NET

SftTreeTreeLineStyleConstants Style = object.TreeLineStyle;

VC++

enum SftTreeTreeLineStyleConstants Style = object->TreeLineStyle;
enum SftTreeTreeLineStyleConstants Style = object->GetTreeLineStyle();

C

HRESULT object->get_TreeLineStyle(enum SftTreeTreeLineStyleConstants* Style);

Delphi

Style := object.TreeLineStyle  : TOleEnum;

Put

VB.NET

object.TreeLineStyle = Style  As SftTreeTreeLineStyleConstants

VB

object.TreeLineStyle = Style  As SftTreeTreeLineStyleConstants

C#.NET

SftTreeTreeLineStyleConstants object.TreeLineStyle = Style;

VC++

enum SftTreeTreeLineStyleConstants object->TreeLineStyle = Style;
void object->PutTreeLineStyle(enum SftTreeTreeLineStyleConstants Style);

C

HRESULT object->put_TreeLineStyle(enum SftTreeTreeLineStyleConstants Style);

Delphi

object.TreeLineStyle := Style  : TOleEnum;

object

A SftTreeItems object.

Style

Defines the current tree line display style.

Style

Value

Description

treeSftTreeNone 

0

Connecting tree lines are not shown.

treeSftTreeShown 

1

Connecting tree lines are shown between all items on levels 1 and lower.  Items on level 0 (i.e., top-most items) are not connected to their child items.

treeSftTreeDotted

2

Connecting dotted tree lines are shown between all items on levels 1 and lower.  Items on level 0 (i.e., top-most items) are not connected to their child items.

treeSftTreeDotted0

3

Connecting dotted tree lines are shown between all items.

treeSftTreeInvisible

4

Connecting tree lines are not shown, but all layout and formatting is calculated as if they were present. This only affects the horizontal indentation of levels.

treeSftTreeAutomatic

5

The TreeLineStyle property is set to treeSftTreeDotted or treeSftTreeInvisible depending on the operating system used. On Windows 2000, connecting dotted tree lines are shown between items on levels 1 and lower (using treeSftTreeDotted). On Windows XP and above, connecting dotted tree lines are not shown (using treeSftTreeInvisible).

treeSftTreeAutomatic0

6

The TreeLineStyle property is set to treeSftTreeDotted0 or treeSftTreeInvisible depending on the operating system used. On Windows 2000, connecting dotted tree lines are shown between all items (using treeSftTreeDotted0). On Windows XP and above, connecting dotted tree lines are not shown (using treeSftTreeInvisible).

Comments

The TreeLineStyle property defines the current tree line display style.

The Items.TreeLineColor defines the color used to draw connecting tree lines.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com