Hi,
I have an MDI app and I am using the TextEditorControl from ICSharpCode. But it has some of the same functions as the TextBox, and RichTextBox like Undo, Redo, Cut, Copy, Paste, Etc. Well those are the kind of functions I can use when I try to do this for the Undo toolbar button or menu strip button
That does not work because I guess that the Undo function is
not in the System.Windows.Forms functions and is a advanced function of the one of the TextBox, RichTextBox and TextEditorControl.
Now my question is how would I go about accessing those functions on the child window from the parent window?
Thanks, I hope I explained myself right
I have an MDI app and I am using the TextEditorControl from ICSharpCode. But it has some of the same functions as the TextBox, and RichTextBox like Undo, Redo, Cut, Copy, Paste, Etc. Well those are the kind of functions I can use when I try to do this for the Undo toolbar button or menu strip button
Code:
this.ActiveMdiChild.Controls["textEditorControl1"].Undo
That does not work because I guess that the Undo function is
not in the System.Windows.Forms functions and is a advanced function of the one of the TextBox, RichTextBox and TextEditorControl.
Now my question is how would I go about accessing those functions on the child window from the parent window?
Thanks, I hope I explained myself right