Home Forums General XMetaL Discussion Join multiple changes into a single change/update event in XMetaL Author Reply To: Join multiple changes into a single change/update event in XMetaL Author

Progresso

Reply to: Join multiple changes into a single change/update event in XMetaL Author

Thank you Derek,

Your reply helped me a lot.

I have now changed the code thus grouping multiple events into a single undoable action inside a single macro.

In a couple of places I needed to control the flickering with ActiveDocument.FormattingUpdating=false/true

All this was resolved neatly, with only one remaining problem:

When I prompted the user with Application.Confirm() before performing a large number of DOM modifications, the processing became MUCH slower than without the prompt.

It seems like the mere appearance of a modal dialog creates problems.

I solved the problem by creating an XFT window with yes/no buttons, and performing the large number om DOM modifications from within the window.

Best regards
Bo

Reply

Products
Downloads
Support