Progress
Language Reference


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

Data Type: INTEGER

Access: Readable/Writeable

Applies To: Browse, Browse cell, Button, Combo-box, Control-frame, Dialog-box, Editor, Field-group, Fill-in, Frame, Image, LAST-EVENT System Handle, Literal, Radio-set, Rectangle, Selection-list, Slider, Text, Toggle-box, Window

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

This attribute is functionally equivalent to the ROW attribute.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095