






yes, I include itDerren wrote:Speeking of which: Scrollwheel support to scroll through the tabs would be nice, too.
good idea, like a special constant for position for AddTabBarGadgetItem or SetTabBarGadgetText likeDerren wrote:Also some way to add text and/or an icon to the "new tab"-tab.
I think at this point we also can use EventType() of PureBasic.Derren wrote:And some more events like, doubleclick and right mouseclick on tab.
yes, thats right, the new EventTab() will then return #TabBarGadget_Space or so.Derren wrote:Nice touch with the double click on emty space that creates a new tab.
But this should also be handled with a independent double-click event so we can disable this feature.
Totally fine.STARGÅTE wrote:I think at this point we also can use EventType() of PureBasic.
I then add just a EventTab, which returns the tab position of the event, ok?
Yes. If you select a TabBar with "<" or ">" on the ends, you can scrollelectrochrisso wrote:...
Should something happen when I use the mouse wheel.
Strange, this computer not playing the game, I can delete tabs by clicking on the mousewheel though.Yes. If you select a TabBar with "<" or ">" on the ends, you can scroll the tabs to left/right.
Code: Select all
\FontID=GetGadgetFont(#PB_Default)
Code: Select all
\FontID =FontID(LoadFont(#PB_Any,"Geneva",9)) ; edited
I will add it.ebs wrote:Would you consider adding a flag to prevent the user from being able to move the tabs?
thx for test it on mac.WilliamL wrote:I guess I'm the first to try the TabBarGadget on a Mac.
Code: Select all
\FontID = FontID(LoadFont(#PB_Any,"Geneva",9))