SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the current horizontal scrolling offset in the right pane.
Get
VB.NET | Offset = object.HorizontalOffset2 As Single |
VB | Offset = object.HorizontalOffset2 As Single |
C#.NET | float Offset = object.HorizontalOffset2; |
VC++ | float Offset = object->HorizontalOffset2; float Offset = object->GetHorizontalOffset2(); |
C | HRESULT object->get_HorizontalOffset2(float* Offset); |
Put
VB.NET | object.HorizontalOffset2 = Offset As Single |
VB | object.HorizontalOffset2 = Offset As Single |
C#.NET | float object.HorizontalOffset2 = Offset; |
VC++ | float object->HorizontalOffset2 = Offset; void object->PutHorizontalOffset2(float Offset); |
C | HRESULT object->put_HorizontalOffset2(float Offset); |
object
A SftTreeItems 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.
The HorizontalOffset2 property defines the current horizontal scrolling offset in the right pane.
The HorizontalOffset2 and Items.HorizontalOffset2Pix 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 HorizontalOffset2 property defines the horizontal scrolling offset of the displayable area in the right pane of a split tree control. The 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 SftTreeItems Object | Object Hierarchy