SftBox/OCX 4.5

SftBoxItems.HorizontalOffset Property

Softel vdm, Inc.

Defines the horizontal scrolling offset.

Syntax       

Get

VB.NET

Offset = object.HorizontalOffset  As Integer

VB

Offset = object.HorizontalOffset  As Long

C#.NET

int Offset = object.HorizontalOffset;

VC++

long Offset = object->HorizontalOffset;
long Offset = object->GetHorizontalOffset();

C

HRESULT object->get_HorizontalOffset(long* Offset);

Delphi

Offset := object.HorizontalOffset   : Integer;

Put

VB.NET

object.HorizontalOffset = Offset  As Integer

VB

object.HorizontalOffset = Offset  As Long

C#.NET

int object.HorizontalOffset = Offset;

VC++

long object->HorizontalOffset = Offset;
void object->PutHorizontalOffset(long Offset);

C

HRESULT object->put_HorizontalOffset(long Offset);

Delphi

object.HorizontalOffset := Offset   : Integer;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com