Progress
Language Reference


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

Data Type: CHARACTER

Access: Readable/Writeable

Applies To: Browse column, Buffer-field Object Handle, Combo-box, Editor, Fill-in, Radio-set, Rectangle, Selection-list, Slider, Text, Toggle-box

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.


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