X
property (DataWindow object)
Description
The distance of the specified control from the left edge of the
DataWindow object.
Applies to
Button, Column, Computed Field, Graph, GroupBox, OLE, Oval,
Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text
controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.X |
Describe and Modify argument:
|
1 |
"controlname.X { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the control for which you want to get |
|
value |
(exp) An integer specifying the x 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 |
string setting setting = dw1.Object.emp_name.X dw1.Object.emp_name.X = 10 setting = dw1.Describe("emp_name.X") dw1.Modify("emp_name.X=10") |