Copy link to clipboard
Copied
Dear all,
In my script I have set up this notification:
Notification (Constants.FA_Note_PostActiveDocChange, true);
I have now noticed that this is also triggered (executing the Note function) in the following situation:
My questions are:
Thanks for any thoughts about this.
Klaus
There seem to be some hidden conditions which set the 'dirty flag'.
I tested the following with a new (empty) document and assured that the save icon is dimmed (document is 'clean').
The document is considered changed (save icon is lit).
It turns out that this happens since FM 7.2.
Switching between page types in a script using FCodes does not change the 'dirty flag'.
A si
...Copy link to clipboard
Copied
There seem to be some hidden conditions which set the 'dirty flag'.
I tested the following with a new (empty) document and assured that the save icon is dimmed (document is 'clean').
The document is considered changed (save icon is lit).
It turns out that this happens since FM 7.2.
Switching between page types in a script using FCodes does not change the 'dirty flag'.
A simple script reading from the reference page does not change the 'dirty flag'.
I have carefully checked the complete script - the flag is set as soon as the dialgoue is set up complete and becomes visible.
So I will leave the things as they are and do not further investigat in the script.
Thanks for listening!