K
KG Studios
Guest
Hello,
I am making a text editor in vb.net and I have a problem. When I change the font style of the selected text in a tab and I go to another tab and try to change the font style and there, I get an "Object Reference not set to an instance of an object" error.
For all the RichTextBoxes created, I use an array.
I also use a variable to store the number of opened tabs.
For the program to know which RichTextBox to edit, I use this command: "RichTextBoxes(TabControl1.SelectedTab.TabIndex)".
Can anyone help me with the problem?
Thank you
Continue reading...
I am making a text editor in vb.net and I have a problem. When I change the font style of the selected text in a tab and I go to another tab and try to change the font style and there, I get an "Object Reference not set to an instance of an object" error.
For all the RichTextBoxes created, I use an array.
I also use a variable to store the number of opened tabs.
For the program to know which RichTextBox to edit, I use this command: "RichTextBoxes(TabControl1.SelectedTab.TabIndex)".
Can anyone help me with the problem?
Thank you
Continue reading...