C2022-003-Change-Textboxes-to-RTF-3
This commit is contained in:
@@ -96,10 +96,10 @@ namespace ROEditor
|
||||
private System.Windows.Forms.Label lblW2;
|
||||
private System.Windows.Forms.Label lblW3;
|
||||
private System.Windows.Forms.Label lblW4;
|
||||
private System.Windows.Forms.RichTextBox tbSingleTxtWid; // RO Editor add symbols C2022 - 003
|
||||
private System.Windows.Forms.RichTextBox tbVariableTxtWid;
|
||||
private System.Windows.Forms.RichTextBox tbTableWid;
|
||||
private System.Windows.Forms.RichTextBox tbXYPlotWid;
|
||||
ctlXMLEditLib.roRichTextBox tbSingleTxtWid; // RO Editor add symbols C2022 - 003
|
||||
ctlXMLEditLib.roRichTextBox tbVariableTxtWid;
|
||||
ctlXMLEditLib.roRichTextBox tbTableWid;
|
||||
ctlXMLEditLib.roRichTextBox tbXYPlotWid;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
/// <summary>
|
||||
@@ -218,10 +218,10 @@ namespace ROEditor
|
||||
this.lblFieldName = new System.Windows.Forms.Label();
|
||||
this.tbFieldName = new System.Windows.Forms.TextBox();
|
||||
this.gbAlternatives = new System.Windows.Forms.GroupBox();
|
||||
this.tbXYPlotWid = new System.Windows.Forms.RichTextBox(); // RO Editor add symbols C2022 - 003
|
||||
this.tbTableWid = new System.Windows.Forms.RichTextBox();
|
||||
this.tbVariableTxtWid = new System.Windows.Forms.RichTextBox();
|
||||
this.tbSingleTxtWid = new System.Windows.Forms.RichTextBox();
|
||||
this.tbXYPlotWid = new ctlXMLEditLib.roRichTextBox(); // RO Editor add symbols C2022 - 003
|
||||
this.tbTableWid = new ctlXMLEditLib.roRichTextBox();
|
||||
this.tbVariableTxtWid = new ctlXMLEditLib.roRichTextBox ();
|
||||
this.tbSingleTxtWid = new ctlXMLEditLib.roRichTextBox();
|
||||
this.lblW4 = new System.Windows.Forms.Label();
|
||||
this.lblW3 = new System.Windows.Forms.Label();
|
||||
this.lblW2 = new System.Windows.Forms.Label();
|
||||
|
||||
@@ -354,11 +354,11 @@ namespace ROEditor
|
||||
private System.Windows.Forms.MenuItem menuEditDelete;
|
||||
private System.Windows.Forms.MenuItem menuEditSelAll;
|
||||
private TreeNode LastSelectedNode;
|
||||
private RichTextBox _CurrentTextBox; // currently selected TextBox field
|
||||
private roRichTextBox _CurrentTextBox; // currently selected TextBox field
|
||||
public static string[] PCChildren; //C2021-026 list of Parent/Child Children
|
||||
//private StepTabRibbon _MyStepTabRibbon;
|
||||
|
||||
public RichTextBox CurrentTextBox
|
||||
public roRichTextBox CurrentTextBox
|
||||
{
|
||||
get { return _CurrentTextBox; }
|
||||
set { _CurrentTextBox = value; }
|
||||
@@ -1124,14 +1124,14 @@ namespace ROEditor
|
||||
|
||||
protected void ctlXMLEdit2_ClickControl(object sender, EventArgs e)
|
||||
{
|
||||
RichTextBox tmpTxtbx = new RichTextBox();
|
||||
roRichTextBox tmpTxtbx = new roRichTextBox();
|
||||
CurrentTextBox = null;
|
||||
|
||||
roTreeView_ResetEditMenu();
|
||||
|
||||
if (sender.GetType() == tmpTxtbx.GetType())
|
||||
{
|
||||
tmpTxtbx = (RichTextBox)sender;
|
||||
tmpTxtbx = (roRichTextBox)sender;
|
||||
CurrentTextBox = tmpTxtbx; // the text box currently selected
|
||||
|
||||
if (CurrentTextBox.Multiline)
|
||||
|
||||
Reference in New Issue
Block a user