PreviousNextIndex

DATA-TYPE attribute

A character value that represents the data type of the field associated with the widget. For example, the DATA-TYPE attribute of a slider widget always returns the value "INTEGER" because slider widgets can only represent integer values.

Data type: CHARACTER

Access: Readable/Writeable

Applies to: BROWSE widget (column), Buffer-field object handle, COMBO-BOX widget, EDITOR widget, FILL-IN widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget

This attribute is writeable for combo-boxes (only before realization), fill-ins, and text widgets only. For combo-boxes, writing to this attribute makes the drop-down list empty.

You must define this attribute as “CHARACTER” for SIMPLE and DROP-DOWN combo-boxes.

For widgets like image or rectangle, where a data type has no meaning, the attribute returns "UNKNOWN".

The DATA-TYPE attribute is only writable for dynamic fill-ins before they are realized. This attribute is read only for static fill-ins.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex