Line controls
The EndX property specifies the X coordinate of the end of the line in PowerBuilder units.
The X coordinate is the distance from the left edge of the window or custom user object. If the object is a main window or custom user object, the distance is relative to the screen. If it is not a main window, the distance is relative to the parent window unless it is opened in an MDI frame window, in which case the distance is relative to the MDI frame.
To set the X coordinate of the end of the line:
Insert the line. If you want to change the ending location, change the value of the EndX field on the Position tab page of the line’s Property view.
The EndX property takes an integer value. This example sets the X coordinate of the end of the line:
ln_1.EndX = 1200