PreviousNextIndex

HEIGHT-PIXELS attribute

The height, in pixels, of the widget. The HEIGHT-PIXEL attribute of the SESSION handle contains the height of the display.

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, LITERAL widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SESSION system handle, SLIDER widget, TEXT widget, TOGGLE-BOX widget, WINDOW widget

For combo boxes, field groups, and the SESSION handle, this attribute is read-only.

In character mode, the HEIGHT-PIXELS attribute must be set before the browse is realized. Attempting to set the attribute after realization of the browse causes a run-time error.

For control-frames, the HEIGHT-PIXELS attribute maps to the Height property of the control-frame COM object (ActiveX control container).

For browses, the HEIGHT-PIXELS attribute sets the decimal height, in pixels, of the browse without changing the height of the browse’s rows. If you change the value of a browse’s HEIGHT-CHARS or HEIGHT-PIXELS attribute, the number of rows that appear in the viewport might change.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex