X1, X2 DataWindow object property
Description
The distance of each end of the specified line from the left
edge of the line’s band.
Controls
Line controls
Syntax
PowerBuilder dot notation:
|
1 |
<span> dw_control</span>.Object.<span>controlname</span>.X1 |
|
1 |
<span> dw_control</span>.Object.<span>controlname</span>.X2 |
Describe and Modify argument:
|
1 |
"<span>controlname</span>.X1 { = '<span> value </span>' }" |
|
1 |
"<span>controlname</span>.X2 { = '<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.X1 |
|
1 |
dw1.Object.line_1.X1 = 10 |
|
1 |
dw1.Object.line_1.X2 = 1000 |
|
1 |
setting = dw1.Describe("line_1.X1") |
|
1 |
dw1.Modify("line_1.X1=10") |
|
1 |
dw1.Modify("line_1.X2=1000") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest