Article | 41023424 |
Type | HowTo |
Product | Engine |
Version | 4.x |
Date Added | 2/2/2004 |
Submitted by | Hans BERENDE |
Keywords |
Is there a possibility to refine IsModified() so that not each and every action (Like zoom, pan, ...) is regarded a change?
I am using the 4.1.6.1029 engine with the UndoMode set to false.
You can get the IsModified value just before your code calls Zoom or Pan and after the command finishes use the SetModified property in order to set the isModified value as it was before the command
You can also use declare a public boolean in your project and use it as the IsModified flag, changing it in your code