|
|
|
SftTreeItems.HorizontalOffset Property |
Defines the current horizontal scrolling offset.
Syntax
VB.NET |
Offset = object.HorizontalOffset As Single |
||
VB |
Offset = object.HorizontalOffset As Single |
||
C#.NET |
float Offset = object.HorizontalOffset; |
||
VC++ |
float Offset = object->HorizontalOffset;
|
||
C |
HRESULT object->get_HorizontalOffset(float* Offset); |
||
Delphi |
Offset := object.HorizontalOffset : Single; |
||
VB.NET |
object.HorizontalOffset = Offset As Single |
||
VB |
object.HorizontalOffset = Offset As Single |
||
C#.NET |
float object.HorizontalOffset = Offset; |
||
VC++ |
float object->HorizontalOffset = Offset;
|
||
C |
HRESULT object->put_HorizontalOffset(float Offset); |
||
Delphi |
object.HorizontalOffset := Offset : Single; |
object
A SftTreeItems object.
Offset
Defines the current horizontal scrolling offset. If this value is greater than the Items.HorizontalExtent property, the value is adjusted to scroll to the rightmost position. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
Comments
The HorizontalOffset property defines the current horizontal scrolling offset.
The Items.HorizontalOffset and Items.HorizontalOffsetPix methods are synonyms, but may use different coordinate systems.
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.
A tree control can only be scrolled horizontally if its displayable area (see Items.HorizontalExtent property) is wider than the tree control window.
See Also SftTreeItems Object | Object Hierarchy