C2022-003-Change-Textboxes-to-RTF-3
This commit is contained in:
@@ -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