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