Post by ArchApps on Jan 19, 2016 13:21:49 GMT 10
Hi, I have been trying to find out how to make a cool looking tab control(similar to airbrowse and lumia browser)and I found out twbp had the source code, but their website is down. I have been trying to find a solution for a few months, but I didn't find any solution. I have also looked at all the forum threads on tabs.
Thanks
|
|
Post by Nathan Lecompte on Jan 19, 2016 13:29:08 GMT 10
Try the SuperTabControl from DevComponent's DotNetBar, that's what I used for Lumia Browser 3.0.0.0
|
|
Post by ArchApps on Jan 19, 2016 13:50:32 GMT 10
Thanks, but one more thing: how did you get the new tab button in place? I have tried pressing the "add button" button, but the button will move somewhere else. Also, which style did you use?
|
|
Post by Nathan Lecompte on Jan 19, 2016 19:44:38 GMT 10
I can't remember which style I used, you'll have to cycle through the styles... For the add tab button I set the fixed tab width to a certain width and then just moved the add tab button by that width in the TabCreated/TabRemoved event I think; basically just whenever a tab was created or removed I moved the button by the fixed tab width
|
|
Post by ArchApps on Jan 20, 2016 16:45:49 GMT 10
|
|
Post by ArchApps on Jan 25, 2016 4:21:10 GMT 10
The app is crashing when I close all the tabs Is there anything that can help? thanks
|
|
Post by Nathan Lecompte on Jan 25, 2016 9:06:48 GMT 10
In the tabclosing event check to see how many tabs there are (probably something like SuperTabControl1.Tabs.Capacity), if there are 0 tabs then just close the program or add another tab.
|
|
Post by ArchApps on Jan 25, 2016 10:44:55 GMT 10
OK thanks I am almost done with my browser
Last Edit: Jan 25, 2016 10:45:44 GMT 10 by ArchApps
|
|
Post by Nathan Lecompte on Jan 25, 2016 16:03:40 GMT 10
Nice!
|
|
Post by ArchApps on Feb 17, 2016 12:52:21 GMT 10
Never mind about being almost done, I I basically postponed the whole project, but now I am working on it. Now I will get to the point. I was trying to move buttonitem1 but there is only popup location and item at location, and I am kinda new w/ dotnetbar. Is there any solution? thanks
|
|