2.269 .real_modified
This attribute indicates whether the content (.content) of an edittext or a poptext has been modified since the object has received the focus.
With the datetime object, this attribute indicates whether the attribute .value has been modified since the object received the focus.
The attribute can be queried for visible objects (.real_visible = true) only.
With the edittext and the datetime object, this attribute is set to false when a value is assigned to the .content attribute.
The poptext supports this attribute with the styles .style = edittext and .style = listbox only.
Definition
-
Data type
boolean
-
Access
get
Example
Check if the content has been changed through a charinput:
edittext Et { on charinput { if this.real_modified then print "Content of " + this + " has changed"; endif } }
Note on the IDM for Motif
The attribute .real_modified is not supported and always returns true.