Added Insert and Replace buttons
Added comments with a link to the sendkeys key commands Logic to let the Import Word Contents form know which edit item should receive the key strokes
This commit is contained in:
@@ -62,6 +62,7 @@ namespace Volian.Controls.Library
|
||||
MyStepRTB = null;
|
||||
//if (rtabChgId.Visible)
|
||||
// txtBxChgId.Text = (this.Parent as StepTabPanel).MyDisplayTabControl.ChgId;
|
||||
|
||||
}
|
||||
}
|
||||
public void SetChangeId(string chgid, ItemInfo ii)
|
||||
@@ -431,6 +432,7 @@ namespace Volian.Controls.Library
|
||||
set
|
||||
{
|
||||
_MyStepRTB = value;
|
||||
if (fiwc != null) fiwc.MyStepRTB = value;
|
||||
if (value != null)
|
||||
{
|
||||
//Console.WriteLine(string.Format("StepTabRibbon: In set of MyStepRTB, Selected Text = {0}", MyStepRTB.SelectedText));
|
||||
@@ -3279,10 +3281,12 @@ namespace Volian.Controls.Library
|
||||
(this.Parent as StepTabPanel).MyDisplayTabControl.ItemsChangeIds.Add(_MyEditItem.MyStepRTB.MyItemInfo.MyProcedure.ItemID, txtBxChgId.Text);
|
||||
}
|
||||
|
||||
private frmImportWordContents fiwc = null;
|
||||
// open the Import Word Text dialog
|
||||
private void rbnImpWrd_ItemClick(object sender, EventArgs e)
|
||||
{
|
||||
frmImportWordContents fiwc = new frmImportWordContents();
|
||||
if (fiwc == null) fiwc = new frmImportWordContents();
|
||||
fiwc.MyStepRTB = this.MyStepRTB;
|
||||
fiwc.Show();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user