Skip to main content
5-Regular Member
October 10, 2022
Question

Mathcad Events

  • October 10, 2022
  • 1 reply
  • 2058 views

In the Mathcad API, about a dozen events are exposed in the IMathcadPrimeEvent2 interface, including "OnWorksheetModified" and "OnWorksheetSaved". I am attempting to access the IMathcadPrimeWorksheet3 property "Modified" within these events. However, when I try to get or set this property within the event, the Mathcad worksheet/application completely freezes and does not allow the code to proceed with getting or setting this property. What's up with that? Is there any way around this? 

The reason I am trying to get at this "Modified" property is because, for some reason, the worksheet is only considered "modified" the first time after a save, or when saving. Not sure why this was the case.

1 reply

24-Ruby III
October 11, 2022

Please specify which version of the program you are using?

GJS5-Regular MemberAuthor
5-Regular Member
October 11, 2022

Mathcad Prime 6.0