• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FM2019: Structure View element unfold results in document change

Community Beginner ,
Aug 05, 2020 Aug 05, 2020

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 ?

Views

130

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Aug 05, 2020 Aug 05, 2020

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 05, 2020 Aug 05, 2020

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines