Modified

Applies to

InkEdit, RichText controls

Description

Specifies whether the text in the control has been modified since it was opened or last saved. Modified is the control's "dirty" flag, indicating that the control is in an unsaved state.

Usage

The value of the Modified property controls the Modified event. If the property is false, the event occurs when the first change occurs to the contents of the control. The change also causes the property to be set to true, which suppresses the Modified event. You can restart checking for changes by setting the property back to false.

In scripts

The Modified property takes a boolean value. The following example sets the Modified property of the InkEdit control ie_1 to false so that the Modified event is enabled:

ie_1.Modified = FALSE