EndY

Applies to

Line controls

Description

The EndY property specifies the Y coordinate of the end of the line in PowerBuilder units.

The Y coordinate is the distance from the top 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.

Usage

In a painter

To set the Y coordinate of the end of the line:

  • Insert the line. If you want to change the ending location, change the value of the EndY field on the Position tab page of the line's Property view.

In scripts

The EndY property takes an integer value. This example sets the Y coordinate of the end of the line:

ln_1.EndY = 1200