Message 1 of 8
TransactionManager - issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I tried to use the TransactionManager to grouping changes.
So I'm calling
oTrans = StartTransaction(ActiveDocument, "Grouped changes")
do some stuff
oTrans.End
in the Undo/Redo I can see my "Grouped changes", but all other Transactions are lost.
I'm calling this inside the ApplicationEvents::OnNewDocument(..kAfter...)
after the user closed the mirror dialog.
If i'm not using the Transaction, the mirror command will be visible in the Undo/Redo. So I think no document will be closed in the mirror action.
What I'm want to achieve: Add my doing to the mirror transaction, as a child transaction.
What I'm doing wrong, how to solve this?
Regards
Rene