SetModified

>>-anEditControl~SetModified(--bool--)-------------------------><


The SetModified method sets the flag to indicate whether the edit control has been modified.

Arguments:

The only argument is:

bool

1

The flag indicates that the text has been altered.

0

For all other cases.

Example:

In the following example, the Save method stores the dialog contents in a file and clears the modified flag. See also the SetText example.

::method Save
    /* write contents to file */
    edit = MyDialog~GetEditControl("TEXT")
    ...
    edit~SetModified(0)