How to use a tabControl for TextPad like tabbed documents?
Posted on 2005-04-08
I have a windows App that is somewhat like NotePad or TextPad. What I want to do is have the first document be on tab 1 and the second on tab 2 and so forth. I added a tabControl and one page to my app. On this page I added my richText box. I have a toolbar at the top with buttons that allow me to open and save a file, bold, underline and italicize, and also a tab button that will create another tab.
When the new tab button is clicked it shows a new tab but now my RichTextBox is gone.
How do I make it so the rich text box shows on all tabs?
I want to be able to open a different document on each tab.
Maybe I need to have my RichTextBox not on my tabControl but below.
I can post my code if anyone needs it.