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
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
SftTree/NET 2.0 - Tree Control
Defines the current horizontal scrolling offset in the right pane.
Get
| VB.NET | OffsetPix = object.HorizontalOffset2Pix As Integer |
| VB | OffsetPix = object.HorizontalOffset2Pix As Long |
| C#.NET | int OffsetPix = object.HorizontalOffset2Pix; |
| VC++ | long OffsetPix = object->HorizontalOffset2Pix; long OffsetPix = object->GetHorizontalOffset2Pix(); |
| C | HRESULT object->get_HorizontalOffset2Pix(long* OffsetPix); |
Put
| VB.NET | object.HorizontalOffset2Pix = OffsetPix As Integer |
| VB | object.HorizontalOffset2Pix = OffsetPix As Long |
| C#.NET | int object.HorizontalOffset2Pix = OffsetPix; |
| VC++ | long object->HorizontalOffset2Pix = OffsetPix; void object->PutHorizontalOffset2Pix(long OffsetPix); |
| C | HRESULT object->put_HorizontalOffset2Pix(long OffsetPix); |
object
A SftTreeItems object.
Defines the current horizontal scrolling offset in the right pane in pixels.
The HorizontalOffset2Pix property defines the current horizontal scrolling offset in the right pane.
The Items.HorizontalOffset2 and 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 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.
GrayedColor = -2147483631
GridHorizontalColor= -2147483633
GridStyle = 6
GridVerticalColor= -2147483633
HilightColor = -2147483628
HorizontalExtentPix= 0
HorizontalExtent2Pix= 0
HorizontalOffsetPix= 0
HorizontalOffset2Pix= 0
Indentation = -1
ItemImageAlign = 1
Lines = 5
MaxHeightPix = 0
MinHeightPix = 0
MultiSelect = 0
NoFocusStyle = 0See Also SftTreeItems Object | Object Hierarchy
