HorizontalScrollPosition
property (DataWindow object)
Description
The position of the scroll box in the horizontal scroll bar. Use
HorizontalScrollMaximum with HorizontalScrollPosition to synchronize
horizontal scrolling in multiple DataWindow objects.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.HorizontalScrollPosition |
Describe and Modify argument:
|
1 |
"DataWindow.HorizontalScrollPosition { = scrollvalue }" |
|
Parameter |
Description |
|---|---|
|
scrollvalue |
An integer specifying the position of the scroll |
Examples
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
string spos1 spos1 = dw1.Object.DataWindow.HorizontalScrollPosition string smax1, smax2, spos1, modstring integer pos2 smax1 = dw1.Describe( & "DataWindow.HorizontalScrollMaximum") spos1 = dw1.Describe( & "DataWindow.HorizontalScrollPosition") smax2 = dw_2.Describe( & "DataWindow.HorizontalScrollMaximum") pos2 = Integer(spos1) * Integer(smax2) / Integer(smax1) modstring = "DataWindow.HorizontalScrollPosition=" & + String(pos2) dw1.Modify(modstring) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest