This commit is contained in:
John Jenko 2011-03-30 16:19:57 +00:00
parent e439f31c1f
commit 2fa637ab4d
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,8 @@ namespace Volian.Controls.Library
} }
break; break;
case Keys.Delete: case Keys.Delete:
MyFlexGrid.ClearSelectedCellText(); if (!MyFlexGrid.IsRoTable)
MyFlexGrid.ClearSelectedCellText();
break; break;
} }
} }
@ -274,6 +275,7 @@ namespace Volian.Controls.Library
{ {
if (MyFlexGrid.IsRoTable) if (MyFlexGrid.IsRoTable)
{ {
MyFlexGrid.MergedRanges.Clear();
MyFlexGrid.Clear(); MyFlexGrid.Clear();
ConvertTableToGrid(args.RawValText); ConvertTableToGrid(args.RawValText);
MyFlexGrid.RODbId = args.RODbID; MyFlexGrid.RODbId = args.RODbID;

View File

@ -1547,6 +1547,7 @@ namespace Volian.Controls.Library
public void DoCopyStep() public void DoCopyStep()
{ {
// highlight selected step(s) and prompt to see if selection is what user wants: // highlight selected step(s) and prompt to see if selection is what user wants:
if (MyFlexGrid != null) MyEditItem.IdentifyMe(true);
MyEditItem.IdentifyChildren(true); MyEditItem.IdentifyChildren(true);
DialogResult dr = MessageBox.Show("Step as Marked?", "Identify Step To Be Copied", MessageBoxButtons.YesNo); DialogResult dr = MessageBox.Show("Step as Marked?", "Identify Step To Be Copied", MessageBoxButtons.YesNo);
if (dr == DialogResult.Yes) if (dr == DialogResult.Yes)