X attribute
The pixel location of the left edge of a widget relative to the left edge of the parent widget or the display. The pixel location of the mouse cursor relative to the left edge of the display (for the last mouse event).
Data type: INTEGER
Access: Readable/Writeable
Applies to: BROWSE widget (browse and column), 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 X attribute specifies the location, in pixels, of the left edge of the widget relative to the left edge of its parent widget. In windows, it is the location of the left edge of the window relative to the left edge of the display.
For a browse column, the X attribute returns the Unknown value (
?
) if the column is hidden.For control-frames, the X attribute maps to the Left property of the control-frame COM object (ActiveX control container).
For the LAST-EVENT handle, the X attribute returns the pixel location of a mouse event relative to the left edge of the current frame.
This attribute is functionally equivalent to the COLUMN attribute.
OpenEdge Release 10.2B
|