VerticalScrollPosition DataWindow object property
Description
The position of the scroll box in the vertical scroll bar.
Use VerticalScrollMaximum with VerticalScrollPosition to synchronize
vertical scrolling in multiple DataWindow objects.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.VerticalScrollPosition |
Describe and Modify argument:
|
1 |
"DataWindow.VerticalScrollPosition { = <span>scrollvalue</span> }" |
|
Parameter |
Description |
|---|---|
|
scrollvalue |
A long specifying the position of the |
Examples
|
1 |
string spos1<br>spos1 = dw1.Object.DataWindow.VerticalScrollPosition |
|
1 |
string spos1, smax, sscroll, modstring<br>spos1 = & <br>   dw1.Describe("DataWindow.VerticalScrollPosition")<br>smax = & <br>   dw1.Describe("DataWindow.VerticalScrollMaximum")<br>sscroll = String(Long(smax)/2)<br>modstring = "DataWindow.VerticalScrollPosition=" + &<br>   sscroll<br>dw1.Modify(modstring) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest