Y1, Y2
Description
The distance of each end of the specified line from the top of the
line’s band.
Applies to
Line controls
Syntax
PowerBuilder dot notation:
|
1 2 |
dw_control.Object.controlname.Y1 dw_control.Object.controlname.Y2 |
Describe and Modify argument:
|
1 2 |
"controlname.Y1 { = 'value ' }" "controlname.Y2 { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the line for which you want to get or |
|
value |
(exp) An integer specifying the y coordinate of the |
Usage
In the painter
Select the control and set the value in the Properties view,
Position tab.
Examples
|
1 2 3 4 5 6 7 |
string setting setting = dw1.Object.line_1.Y1 dw1.Object.line_1.Y1 = 50 dw1.Object.line_1.Y2 = 50 setting = dw1.Describe("line_1.Y1") dw1.Modify("line_1.Y1=50") dw1.Modify("line_1.Y2=50") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest