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: INTEGER
Access: Readable/Writeable
Applies to: BROWSE widget (browse and cell), BUTTON widget, COMBO-BOX widget, CONTROL-FRAME widget, DIALOG-BOX widget, EDITOR widget, FIELD-GROUP widget, FILL-IN widget, FRAME widget, IMAGE widget, LAST-EVENT system handle, LITERAL widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget, WINDOW widget
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.
OpenEdge Release 10.2B
|