Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
NDrawingDocument Undo not reverting the Tag.
NDrawingDocument Undo not reverting the Tag.
Post Reply
NDrawingDocument Undo not reverting the Tag.
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Steve Warner
Steve Warner
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 15,
Visits: 1
I have an event that changes the Tag associated with my NDrawingDocument, but when I undo the Event it doesn't revert the Tag to it's previous state. Is there something I am missing?
I ask because I have Shapes that are utilizing this behavior properly using the NShape.Drawing.StartTransaction/HistoryService.Commit paradigm.
Is there something I should be doing differently?
Here is my code snippet.
_form.document.StartTransaction("UpdateFormatProperties");
_form.document.Tag = object.Clone();
//Do some other stuff to the document.
_form.document.HistoryService.Commit();
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 15 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Steve,
Yes indeed this appears to be a bug in the diagram, because the Tag property setter of NDocument (base for NDrawingDocument and NLibraryDocument) is actually not recording the property change. The fix will appear in the next service pack or release.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
NDrawingDocument Undo not reverting the Tag.
Steve Warner
-
15 Years Ago
Hi Steve, The objects assigned to the Tag property need to comply...
Nevron Support
-
15 Years Ago
My problem is not with the Tags on the shapes in the document. My...
Steve Warner
-
15 Years Ago
Hi Steve, Yes indeed this appears to be a bug in the diagram, because...
Nevron Support
-
15 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search