HorizontalScrollPosition  HorizontalScrollSplit

Chapter 3: DataWindow Object Properties

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

PocketBuilder 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 = dw_1.Object.DataWindow.HorizontalScrollPosition2

Example 2

dw_1.Object.DataWindow.HorizontalScrollPosition2 = 200

Example 3

spos = dw_1.Describe( &

"DataWindow.HorizontalScrollPosition2")

Example 4

dw_1.Modify("DataWindow.HorizontalScrollPosition2=200")





Copyright © 2004. Sybase Inc. All rights reserved. HorizontalScrollSplit

View this book as PDF