Previous Next

Y attribute
The pixel location of the top edge of the widget relative to the top edge of the parent widget or the display. The pixel location of the mouse cursor relative to the top edge of the display (for the last mouse event). This attribute is functionally equivalent to the ROW attribute.
Data type:
Access:
Applies to:
This attribute is read-only for field groups, browse cells, and the LAST-EVENT handle.
For all user interface widgets except windows, the Y attribute specifies the location, in pixels, of the top edge of the widget relative to the top edge of its parent widget. In windows, it is the location of the top edge of the window relative to the top edge of the display.
For a browse column, the Y attribute returns the Unknown value (?) if the column is hidden.
For control-frames, the Y attribute maps to the Top property of the control-frame COM object (ActiveX control container).
For the LAST-EVENT handle, the Y attribute returns the pixel location of a mouse event relative to the top edge of the current frame.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.