Progress
Language Reference


MODIFIED Attribute

Indicates whether the value of the SCREEN-VALUE attribute for the widget has changed.

Data Type: LOGICAL

Access: Readable/Writeable

Applies To: Browse, Browse column, Combo-box, Editor, Fill-in, Radio-set, Selection-list, Slider, Text, Toggle-box

For browse columns, this attribute is readable only.

For all widgets, the MODIFIED attribute is set to TRUE if the SCREEN-VALUE attribute for the widget is changed from the user interface. For all widgets except the editor widget, the MODIFIED attribute is set to TRUE if the SCREEN-VALUE attribute for the widget is changed using a 4GL statement, such as assignment or DISPLAY. You can then reset the attribute to FALSE for each widget that can receive input focus or otherwise change value after it is initially displayed.

For editors, the successful execution of either the SAVE-FILE( ) or the READ-FILE( ) methods sets the MODIFIED attribute to FALSE.

For browses, if any browse cell changes, Progress sets MODIFIED to TRUE. The application can reset MODIFIED to FALSE as necessary. If the query associated with a browse is reopened, Progress resets MODIFIED to FALSE.

If the widget is not already realized and you reference its MODIFIED attribute, Progress realizes the widget.


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