The distance of the specified control from the left edge of the DataWindow object.
Button, Column, Computed Field, Graph, GroupBox, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls
Describe and Modify argument:
"controlname.X { = ' value ' }"
Parameter |
Description |
---|---|
controlname |
The name of the control for which you want to get or set the x coordinate. |
value |
(exp) An integer specifying the x coordinate of the control in the unit of measure specified for the DataWindow object. Value can be a quoted DataWindow expression. |
Select the control and set the value in the Properties window, Layout category.
[Visual Basic] setting = dw1.Describe("emp_name.X")
dw1.Modify("emp_name.X=10")