Defines the horizontal scrolling offset.
Get
| C# | int Offset = object.HorizontalOffset; |
| VB.NET | Offset = object.HorizontalOffset As Integer |
| C++ | long Offset = object->HorizontalOffset; long Offset = object->GetHorizontalOffset(); |
| C | HRESULT object->get_HorizontalOffset(long* Offset); |
| VB | Offset = object.HorizontalOffset As Long |
Put
| C# | int object.HorizontalOffset = Offset; |
| VB.NET | object.HorizontalOffset = Offset As Integer |
| C++ | long object->HorizontalOffset = Offset; void object->PutHorizontalOffset(long Offset); |
| C | HRESULT object->put_HorizontalOffset(long Offset); |
| VB | object.HorizontalOffset = Offset As Long |
object
Offset
Defines the 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 are pixels.
The HorizontalOffset property defines the horizontal scrolling offset.
The displayable area of the drop down portion can be wider than the window width. If the displayable area is wider, the drop down portion can be scrolled horizontally if it has a horizontal scroll bar (see Scrollbars property). The current offset determines the amount of horizontal scrolling.
A drop down portion can only be scrolled horizontally if its displayable area (see Items.HorizontalExtent property) is wider than the control window.
This property is not available at design-time.
See Also SftBoxItems Object | Object Hierarchy