I m going to create a text editor in vb.net with tab controls and rich text boxes
it should create programmatically a new “tabPage” with a “RichTextBox” in it for every opened file. I wrote the open() function which is working fine
. It worked like I wanted, for every opened file it created a new tabPage with RichTextBox showing the contents of the file. But, when I tried to code the Save function it was working only for the first tabPage and RichTextBox created by me, but not those created programmatically. Therefore my problem is that I can’t create functions that will work for the tabPages and RichTextBoxes created programmatically, like the Visual Studio .Net ( for every opened source it creates a tabPage ex.: Form1.cs[Design] plus Form1.cs source so you can work with both of them at the same time ).
thanx
it should create programmatically a new “tabPage” with a “RichTextBox” in it for every opened file. I wrote the open() function which is working fine
. It worked like I wanted, for every opened file it created a new tabPage with RichTextBox showing the contents of the file. But, when I tried to code the Save function it was working only for the first tabPage and RichTextBox created by me, but not those created programmatically. Therefore my problem is that I can’t create functions that will work for the tabPages and RichTextBoxes created programmatically, like the Visual Studio .Net ( for every opened source it creates a tabPage ex.: Form1.cs[Design] plus Form1.cs source so you can work with both of them at the same time ).
thanx