Description
The distance of each end of the specified line from the left edge of the line's band.
Applies to
Line controls
Syntax
PowerBuilder dot notation:
dw_control.Object.controlname.X1 dw_control.Object.controlname.X2
Describe and Modify argument:
"controlname.X1 { = ' value ' }" "controlname.X2 { = ' value ' }"
Parameter |
Description |
---|---|
controlname |
The name of the line for which you want to get or set one of the x coordinates. |
value |
(exp) An integer specifying the x coordinate of the line in the unit of measure specified for the DataWindow object. Value can be a quoted DataWindow expression. |
Usage
In the painter
Select the control and set the value in the Properties view, Position tab.
Examples
string setting setting = dw1.Object.line_1.X1 dw1.Object.line_1.X1 = 10 dw1.Object.line_1.X2 = 1000 setting = dw1.Describe("line_1.X1") dw1.Modify("line_1.X1=10") dw1.Modify("line_1.X2=1000")