Post by bobowk on Apr 8, 2016 20:00:47 GMT 10
Just like the title states. Like in google chrome how you have that small square.
|
|
Post by Nathan Lecompte on Apr 8, 2016 23:03:24 GMT 10
|
|
Post by Prezence on Apr 8, 2016 23:57:55 GMT 10
Yeah this and tab control is literally the most asked question on the forum
Check out our website here. Check out AirBrowse here. Follow us on GitHub here.
|
|
Post by Nathan Lecompte on Apr 9, 2016 12:11:32 GMT 10
bobowk this basically answers your question: www.techviewforum.com/thread/14/solved-get-browser-tabsHere's a snippet of the answer: Check out the videos section of the website (Good Looking UI), it should be the DevComponents DLL. The control you're looking for is called SuperTabControl with the white style (editable in the properties). You can enable close button on tabs and some other neat features!
For the add-tab button to work, you need to set the SuperTabControl FixedTab size to whatever. Then place the add tab button to the very start of the top of your tabs. After that, in the tabitemopen event of the supertabcontrol via code you add to the buttons x location by the amount of fixed tab size. Then in the tabitemclose event of the supertabcontrol you do the opposite.
TabItemOpen Event of SuperTabControl:
Dim nwpoint As Integer nwpoint = ADDTABBUTTON.Location.X + 190 ' << your fixed tab size (plus) ADDTABBUTTON.Location = New Point(nwpoint, ADDTABBUTTON.Location.Y)
TabItemClose Event of SuperTabControl:
Dim nwpoint As Integer nwpoint = ADDTABBUTTON.Location.X - 190 ' << your fixed tab size (minus) ADDTABBUTTON.Location = New Point(nwpoint, ADDTABBUTTON.Location.Y) Hope this helps!
|
|