|
|
EDITOR_HAS_CHANGED
|
Syntax: |
EDITOR_HAS_CHANGED(<Mask Field>[,<Handle>])
|
||||||||||
|
|
|
||||||||||
|
Meaning: |
Returns the internal change flag of the Word
Processor. EDITOR_HAS_CHANGED returns 1 if the content in the Word Processor
has been changed, otherwise it returns 0. <Mask Field> has to be a Word Processor
field. <Handle> specifies the window that
contains the word processor field. <Handle> can contain the window
depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the word
processor field must be on the current mask. EDITOR_HAS_CHANGED returns the following
results:
The internal change flag of the Word
Processor is reset with the following events: 1. At the start of the Word Processor Attention:
This function has no effect with Html programs. |
||||||||||
|
Parameter: |
|
||||||||||
|
Sample: |
H% = EDITOR_HAS_CHANGED(#5.#PROCESSOR$) IF H% = 1 THEN ... ask the user whether data shall
be saved ... ENDIF |
||||||||||
|
See also: |
|