HorizontalScrollPosition2

Description

The position of the scroll box in the second portion of the horizontal scroll bar when the scroll bar is split (HorizontalScrollSplit is greater than 0). Use HorizontalScrollMaximum2 with HorizontalScrollPosition2 to synchronize horizontal scrolling in multiple DataWindow objects.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.HorizontalScrollPosition2

Describe and Modify argument:

"DataWindow.HorizontalScrollPosition2 { = scrollvalue }"

Parameter

Description

scrollvalue

An integer specifying the position of the scroll box in the second portion of a split horizontal scroll bar of the DataWindow

Examples

Example 1

string spos

spos =dw1.Object.DataWindow.HorizontalScrollPosition2

dw1.Object.DataWindow.HorizontalScrollPosition2 = 200

Example 2

spos = dw1.Describe( &

	"DataWindow.HorizontalScrollPosition2")

dw1.Modify( &
	"DataWindow.HorizontalScrollPosition2=200")