EndX – PB Docs 150

EndX property for PowerScript controls

Controls

Line controls

Description

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.

Usage

In a painter

proc.png To set the X coordinate of the end of the line:

  1. 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.

In scripts

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x