I think he wants a add tab button like chrome, in which case he can take the lazy way and do it like firefox and use an actual tab (or they used to) or actually create a custom control to look cleaner (like chromes bowser)
Originally Posted by NextGen1
I think he wants a add tab button like chrome, in which case he can take the lazy way and do it like firefox and use an actual tab (or they used to) or actually create a custom control to look cleaner (like chromes bowser)
You probably know this, but thers wont, so let me help anyone who doesnt with this statement - the tabs in Chrome are just a visual representation of the different rednerer instances that you have. They're not stored or have other controls - it's just a way to help humans understand and use the software - hidden tabs are not rendered, saving both CPU time and memory. IE COM controls in TabControls, however, DO render web pages, web when not shown in the active TabPage. Thus, TabControls (System.Windows.Forms.TabControl) isn't exactly the best way to make a browser.
Originally Posted by Jason
It does actually. /
However, the tabpage won't have the same look as the other tabpages.
Well you see, you're passing a new TabControl parameter there, not a string as was done in the post I had quoted above. (mobile mode now)
Yeah, I vaguely remember Veneet's article, IE8 has a similar setup.
In general it is how browsers work.
Sometimes though the more practical solution is the best for a developer.
so nobody knos how to add a button to a tabcontrol??
Originally Posted by hopefordope
so nobody knos how to add a button to a tabcontrol??
Make a custom user control, thats it. You can add as many things as you want with your own choice of layout and stuff. If you need help regarding custom control, feel free to ask.
ok... so how do you create a custom control???
Originally Posted by Xscapism
Make a custom user control, thats it. You can add as many things as you want with your own choice of layout and stuff. If you need help regarding custom control, feel free to ask.
What I said
Originally Posted by NextGen1
What I said
I never said, I am better than you !! Calm down !! /