Copy link to clipboard
Copied
When in structure view of FM2019 some element is unfold and then close the document the FM AIP sends event FA_Note_PreQuitDoc(which is correct). But, the boolean FP_DocIsModified is set to true.
We do not need to save document upon any click in Structure View.
Any idea please ?
Copy link to clipboard
Copied
Hi,
This is normal behavior. The expand/collapse state is a property of the element object, so that the Structure View settings persist when you close and reopen documents. In other words, a change to the expand/collapse state of any object is considered a document change.
Maybe there is a workaround? What is the real problem with the FP_DocIsModified flag?
Russ
Copy link to clipboard
Copied
Thank you for your answer.
There is no problem with the flag...we just want to get FALSE for this call
Fx_ApiGetInt(FV_SessionId, FMId, FP_DocIsModified);
in case user did just a a expand/collapse in Structure View.