Previous Next

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:
Access:
Applies to:
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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.