Post by Makan on May 9, 2014 8:53:22 GMT 10
When I make tabs for my webbrowser in VB, the tabs, you have to press a button away from them to close them. But how do you get that effect in the lumia browser 3 to get the tabs with the x and the add button to follow? Please help me! Plus, I do have the Awsomium Web Browser SDK installed!
Last Edit: May 11, 2014 6:39:38 GMT 10 by Makan
|
|
Post by Nathan Lecompte on May 10, 2014 12:39:42 GMT 10
Hey Makan, 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! Nathan.
|
|
Post by Nathan Lecompte on May 10, 2014 18:45:01 GMT 10
If this solved your question please add "[SOLVED]" to your subject/title.
|
|
Post by Makan on May 12, 2014 0:00:38 GMT 10
Thanks! Helped me a lot!
|
|