Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

HorizontalOffset2 Property, SftTree Object

Defines the current horizontal scrolling offset in the right pane.

Deprecated - Provided for compatibility with earlier versions only - Use Items.HorizontalOffset2 instead

Syntax

Get

VB.NETOffset = object.HorizontalOffset2 As Single
VBOffset = object.HorizontalOffset2 As Single
C#.NETfloat Offset = object.HorizontalOffset2;
VC++float Offset = object->HorizontalOffset2;
float Offset = object->GetHorizontalOffset2();
CHRESULT object->get_HorizontalOffset2(float* Offset);

Put

VB.NETobject.HorizontalOffset2 = Offset As Single
VBobject.HorizontalOffset2 = Offset As Single
C#.NETfloat object.HorizontalOffset2 = Offset;
VC++float object->HorizontalOffset2 = Offset;
void object->PutHorizontalOffset2(float Offset);
CHRESULT object->put_HorizontalOffset2(float Offset);

object

A SftTree object.

Offset

Defines the current horizontal scrolling offset in the right pane. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.HorizontalOffset2 instead

The HorizontalOffset2 property defines the current horizontal scrolling offset in the right pane.

A tree control's displayable area can be wider than the tree control's window width. If the displayable area is wider, the tree control can be scrolled horizontally if it has a horizontal scroll bar (see Scrollbars property). The current offset determines the amount of horizontal scrolling.

The Items.HorizontalOffset property defines the horizontal scrolling offset of the displayable area (or the left pane of a split tree control).

The Items.HorizontalOffset2 property defines the horizontal scrolling offset of the displayable area in the right pane of a split tree control. The Items.HorizontalOffset2 property can only be used with a split tree control.

The right pane of a split tree control can only be scrolled horizontally if its displayable area (see Items.HorizontalExtent2 property) is wider than the right pane.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.