Product : Engine, Version : 5.1.1.1038, ArticleID : 41024095

Bug : InsertVertex of vdPolyLine is not writing to UNDO history

Article41024095
TypeBug
ProductEngine
Version5.1.1.1038
Date Added9/19/2005
FixedYes [9/20/2005]
Submitted byJokke Sell
Keywords

Subject

InsertVertex of vdPolyLine is not writing to UNDO history

Summary

InsertVertex of vdPolyLine is not writing to UNDO history.

VDPro1.ActiveDocument.New
VDPro1.UndoMode = True
VDPro1.CommandAction.Zoom "W", Array(-3, -3), Array(20, 15)

Dim pl As vdPolyline
Set pl = VDPro1.ActiveDocument.Entities.AddPolyLine(Array(Array(0, 0), Array(10, 0), Array(5, 5), Array(4, 3), Array(0, 3)))
'VDPro1.CommandAction.Zoom "E", 0, 0
pl.Invalidate

pl.Move Array(0, 0), Array(3, 3)
pl.Invalidate
pl.PenColor = 1
pl.Invalidate
pl.InsertVertex 4, Array(10, 10)
pl.Invalidate

Solution

It is fixed in 5.1.1.1039