Progress
Language Reference


FORMAT Attribute

The text format of a widget or browse-cell.

Data Type: CHARACTER

Access: Readable/Writeable

Applies To: Browse-cell (Windows only), Buffer-field Object Handle, Combo-box, Fill-in, Text, Toggle-box

For DROP-DOWN-LIST combo-boxes, if you set this attribute with items in the drop-down list, all items are converted to the new format. This attribute is ignored for SIMPLE and DROP-DOWN combo-boxes.

For combo boxes whose entries consist of label-value pairs, Progress converts all values to the new format.

For browses on Windows, if you modify the FORMAT attribute of a browse-cell, its format changes, but its size does not.

For buffer-fields, the value of the FORMAT attribute does not affect the Progress user interface anywhere. Rather, it controls the output of the STRING-VALUE attribute, and lets users explicitly format non-Progress user interfaces.

NOTE: When the AUTO-RESIZE attribute is TRUE, Progress resizes combo box and fill-in field widgets with run-time changes to the FORMAT attribute.

For information on text formats, see the Progress Programming Handbook .


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