X

Description

The distance of the control from the left edge of the report. At runtime, the distance from the left edge of the report is calculated by adding the margin to the x value.

In the painter

X on the Position page in the Properties view.

Value

An integer in the unit of measure specified for the report. Units of measure include PowerBuilder units, thousandths of an inch (1000 = 1 inch), thousandths of a centimeter (1000 = 1 centimeter), or pixels.

Example

The following statement causes a rectangle to be located 6.250 inches from the left if the state column for the row has the value NY. Otherwise, the rectangle is 4.000 inches from the left:

If(state = 'NY', 6250, 4000)

For more details and pictures, see “Example 4: changing the size and location of controls”.