Fixed code to initialize MS Word sections if Document Style does not specify font.
Added code to handle refreshing the Edit Screen when a section is moved. Added code to refresh the Edit Screen when a section is moved.
This commit is contained in:
@@ -1946,7 +1946,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
DragDropEffects ee = e.Effect;
|
||||
if ((e.KeyState & 8) == 8)
|
||||
ee = DragDropEffects.Copy; // Copy it
|
||||
ee = DragDropEffects.None; // Don't allow copy this way - Copy it
|
||||
else
|
||||
ee = DragDropEffects.Move; // Move it
|
||||
if (IsChild(dragNode, dl.DropNode)) // Don't copy or move to a child node
|
||||
@@ -2081,9 +2081,11 @@ namespace Volian.Controls.Library
|
||||
return;
|
||||
}
|
||||
pdropi = ((VETreeNode)_LastDropLocation.DropNode).VEObject as ProcedureInfo;
|
||||
if (pdropi != null && sdragi.MyParent.ItemID == pdropi.ItemID)
|
||||
if (pdropi != null && ((ItemInfo)(sdragi.ActiveParent)).ItemID == pdropi.ItemID)
|
||||
{
|
||||
sdragi.MoveSection(pdropi, myIndex);
|
||||
sdragi.Moving = true;
|
||||
OnNodeSelect(dragNode, new vlnTreeEventArgs(dragNode));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user