Y1, Y2 DataWindow object property
Description
The distance of each end of the specified line from the top
of the line’s band.
Controls
Line controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Y1 <br><span>dw_control</span>.Object.<span>controlname</span>.Y2 |
Describe and Modify argument:
1 |
"<span>controlname</span>.Y1 { = ' <span>value</span> ' }"<span><br>"controlname</span>.Y2 { = '<span> value </span>' }" |
Parameter |
Description |
---|---|
controlname |
The name of the line for which you want |
value |
(exp) An integer |
Usage
In the painter
Select the control and set the value in the Properties view, Position
tab.
Examples
1 |
string setting |
1 |
setting = dw1.Object.line_1.Y1 |
1 |
dw1.Object.line_1.Y1 = 50 |
1 |
dw1.Object.line_1.Y2 = 50 |
1 |
setting = dw1.Describe("line_1.Y1")<br>dw1.Modify("line_1.Y1=50")<br>dw1.Modify("line_1.Y2=50") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments