The position of the scroll box in the vertical scroll bar. Use VerticalScrollMaximum with VerticalScrollPosition to synchronize vertical scrolling in multiple DataWindow objects.
DataWindows
PocketBuilder dot notation:
dw_control.Object.DataWindow.VerticalScrollPosition
Describe and Modify argument:
"DataWindow.VerticalScrollPosition { = scrollvalue }"
Parameter |
Description |
---|---|
scrollvalue |
A long specifying the position of the scroll box in the vertical scroll bar of the DataWindow. |
string spos1
spos1 = dw_1.Object.DataWindow.VerticalScrollPosition
string spos1, smax, sscroll, modstring
spos1 = &
dw_1.Describe("DataWindow.VerticalScrollPosition")
smax = &
dw_1.Describe("DataWindow.VerticalScrollMaximum")
sscroll = String(Long(smax)/2)
modstring = &
"DataWindow.VerticalScrollPosition=" + sscroll
dw_1.Modify(modstring)
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |