Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.HorizontalOffset Property

Defines the horizontal scrolling offset.

Syntax

Get

VB.NETOffset = object.HorizontalOffset As Integer
VBOffset = object.HorizontalOffset As Long
C#.NETint Offset = object.HorizontalOffset;
VC++long Offset = object->HorizontalOffset;
long Offset = object->GetHorizontalOffset();
CHRESULT object->get_HorizontalOffset(long* Offset);

Put

VB.NETobject.HorizontalOffset = Offset As Integer
VBobject.HorizontalOffset = Offset As Long
C#.NETint object.HorizontalOffset = Offset;
VC++long object->HorizontalOffset = Offset;
void object->PutHorizontalOffset(long Offset);
CHRESULT object->put_HorizontalOffset(long Offset);

object

A SftBoxItems 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.

Comments

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


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