[Ann]Trixi's Tabsheets

Still exists. The Right Tabs aren’t being drawn close enough…

Then the -2 should be decreased (made more negative). Its on the two final g.drawpicture lines after lastpixel. If you figure it out I’ll add a constant for windows and mac. Then we will need a linux t

Well so far I’ve subtracted 6 and almost eliminated the lines but split the bars

https://www.dropbox.com/s/neyezdtgx1ximu6/Screenshot%202014-01-03%2018.54.55.png

bbTabBar nearly complete. No dependancies, no MBS all built in to one control. Anyone interested, close tabs added

Looks good Mike.

Matthew: The other issue is that the text is no longer centered. The spacing between the tabs can be fixed in the paint event of the DraggingTabPanels class. You will see the place where the tabs are drawn, it has:

lastPixel=lastPixel+tabs(i).Picture.Width-5

If you change the 5 to 10 or a higher number it should bring the tabs together.

In my most recent piece of software I have a similar style tab system that is draggable… not the same that I’ve publicly released (SimTabPanel) and it uses 5 images, far less math, and includes bounce.

https://www.dropbox.com/s/kflddg72u7b8oqq/Screenshot%202014-01-03%2019.07.32.png

The old tabs and theme I chose were originally too dark (will be part of the theme-builder I started working on)…and themes can be applied in seconds from any image just drag the lines, hit generate, and paste the code in your Xojo Application…all controls including checkboxes, textboxes, everything takes on the theme. :slight_smile:

https://www.dropbox.com/s/7eozm5jfa9bllps/Screenshot%202014-01-03%2018.59.56.png

Time to retire for the evening.

Thanks for your help Matthew.

[quote=56880:@Mike Charlesworth]bbTabBar nearly complete. No dependancies, no MBS all built in to one control. Anyone interested, close tabs added

[/quote]

PS I don’t use images or additional files every thing is built into the control

[quote=56880:@Mike Charlesworth]bbTabBar nearly complete. No dependancies, no MBS all built in to one control. Anyone interested, close tabs added

[/quote]

Are you planning on releasing your changes?

Yes I will be shortly. I will post on the forum to let you know when it available.

Fixed Jason’s Tabs and added auto pagepanel generation on adding new tabs. Forgot to re-post the updated fix.

http://www./demos/Tabsheets.xojo_binary_project

Here is a variant made from the link Matthew Combatti provided above for Jason King’s Tabs. This is a Windows only version that does not include the cross platform Retina display code or the dragable tabs, (dragable did not suit my purpose for the particular project I modified this for) . This version makes use the Windows System Colors from the Windows Functionality Suite 2.0, has a different tab shape that is more like the Win 7 UI and will highlight on hover over an inactive tab. Here are some screen captures and a link to download.

www.teetomterrific.com/downloads/TabPanelWin.zip