SftBox/OCX 4.5

SftBoxItems.TreeLineStyle Property

Softel vdm, Inc.

Defines the appearance of tree lines connecting related items.

Syntax       

Get

VB.NET

Style = object.TreeLineStyle  As SftBoxTreeLineStyleConstants

VB

Style = object.TreeLineStyle  As SftBoxTreeLineStyleConstants

C#.NET

SftBoxTreeLineStyleConstants Style = object.TreeLineStyle;

VC++

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

C

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

Delphi

Style := object.TreeLineStyle  : TOleEnum;

Put

VB.NET

object.TreeLineStyle = Style  As SftBoxTreeLineStyleConstants

VB

object.TreeLineStyle = Style  As SftBoxTreeLineStyleConstants

C#.NET

SftBoxTreeLineStyleConstants object.TreeLineStyle = Style;

VC++

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

C

HRESULT object->put_TreeLineStyle(enum SftBoxTreeLineStyleConstants Style);

Delphi

object.TreeLineStyle := Style  : TOleEnum;

object

A SftBoxItems object.

Style

Defines the appearance of tree lines connecting related items.

Style

Value

Description

treeLineStyleSftBoxNone

0

Connecting tree lines are not shown.

treeLineStyleSftBoxSolid

1

Connecting tree lines are shown as solid lines.

treeLineStyleSftBoxDotted

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.

treeLineStyleSftBoxDotted0

3

Connecting dotted tree lines are shown between all items.

treeLineStyleSftBoxTransparent

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.

treeLineStyleSftBoxAutomatic

5

The value is translated to treeLineStyleSftBoxDotted or treeLineStyleSftBoxTransparent depending on the operating system used. On Windows 98, ME, 2000, connecting dotted tree lines are shown between items on levels 1 and lower (using treeLineStyleSftBoxDotted). On Windows XP, Windows Server 2003 and Windows Vista, connecting dotted tree lines are not shown (using treeLineStyleSftBoxTransparent).

treeLineStyleSftBoxAutomatic0

6

The value is translated to treeLineStyleSftBoxDotted0 or treeLineStyleSftBoxTransparent depending on the operating system used. On Windows 98, ME, 2000, connecting dotted tree lines are shown between all items (using treeLineStyleSftBoxDotted0). On Windows XP, Windows Server 2003 and Windows Vista, connecting dotted tree lines are not shown (using treeLineStyleSftBoxTransparent).

Comments

The TreeLineStyle property defines the appearance of tree lines connecting related items.

The color used for connecting tree lines is defined using the Items.TreeLineColor property.

If tree lines are enabled, but all items are on level 0, a small amount of unused space remains to the left of the first cell.


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