.. highlightlang:: us .. index:: EdSetModify .. _edsetmodify: EdSetModify =========== .. us.tag EdSetModify ENGLISH EdSet :ref:`EdSetModify` sets or clears the modification flag of the editor. .. function:: bool = EdSetModify(hEdit) bool = EdSetModify(hEdit, bModify) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. uparam:: bModify If *bModify* is TRUE (1), the modification flag will be set. If *bModify* is FALSE (0) the modification flag will be cleared. .. us.comment **Comment** The modification flag is automatically set whenever the user changes the text. If the function will be called without the parameter *bModify*, the modification flag will be set. .. seealso:: :ref:`overview-editors`, :ref:`EdGetModify`, :ref:`EdSaveModified`, :ref:`EdCreate` :sub:`id-962079`