It is currently Sat Oct 01, 2016 6:07 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 119 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: TabBarGadget - Tabs like in a browser
PostPosted: Sat Sep 17, 2011 9:18 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1084
Location: Germany, Glienicke
The TabBarGadget created a bar with tabs without its own container e.g. the PanelGadget.

Image

With different attributes, the appearance of the bar and the tabs are changed,
for example by a "close" button is added.
The tabs can be interchanged by simply dragging the mouse are reversed.
If a card is closed or opened a new, an event is returned,
so the programmer can perform an action themselves.
Also automatically creates a navigation when there are too many tabs

_______________________________________________________________________________________

Version 1.5 Beta 2 for PB 5.30+
Download: TabBarGadget V 1.5 Beta 2
Online help: TabBarGadget Help (english)

Version 1.3 until PB 5.11
Archive: TabBarGadget.zip (Include, Example and Help)
Help: Das Registerkartenleisten-Gadget


_______________________________________________________________________________________

Image
Checkboxes example:
Image
1.5 Beta 2 example:
Image

_______________________________________________________________________________________

Update 1.5 Beta 2 (6. August 2014)
  • SetTabBarGadgetItemAttribute() and GetTabBarGadgetItemAttribute(): Changes or returns the attribute of a tab.
    So you can add a checkbox or a close button on a single tab.
  • #TabBarGadget_TabTextAlignment: Changes the alignment of the text in a tab with more space.
  • #TabBarGadget_SelectedCloseButton: Add a close button only on selected tabs.
  • #TabBarGadget_ReverseOrdering: Reverses the ordering of the tabs (to "right to left").
    The feature is for example for arabic tab bars.
  • A first version of a new online documentation in english: http://help.unionbytes.de/tbg/

Update 1.5 Beta 1 (19. October 2013)
  • Conversion of event management to PB 5.20 and BindEvent().
    TabBarGadgetEvent() is not necessary, event types
    can be queried with EventType().
  • When you create the gadget, window parameter is important.
  • Some constant names have been changed to be similar PureBasic.
  • EventTab(​​) I've removed to avoid name collision,
    it is now GetTabBarGadgetItemPosition() and SetTabBarGadgetItemPosition()
    so tabs can be moved with a command.
  • In addition, the functionality of vertical tabs, multi-select, checkboxes and the navigation has been improved.
  • The auto scroll does only work if threadsafe is enabled (for security)

Update 1.3 (1. Sep 2012)
  • Multiline tab bar
  • Procedures to set tooltips for each tab item, the close button and the new tab
  • Set minimum and maximum of tab width

Update 1.2 (1. Mar 2012)
  • Full support as *.chm and online (first only in german, english will come soon)
  • Other procedures such as SetTabBarGadgetAttribute(), SetTabBarGadgetItemColor(), DisableTabBarGadgetItem()
  • A few new attributes: NoTabMoving, MirroredTabs, TabRounding
  • Improvements in the representation of movement and navigation

Update 1.1 (Beta) (12. Dec 2011)
  • Many new procedures for the gadget added
  • Optional text cut in too little space
  • EventTab() for use with EventType() to determine the tab with the event
  • Using mouse wheel for navigation
  • tool tip text for each tab
  • Improved (animated) representation of the shift tab

_______
original german topic: http://www.purebasic.fr/german/viewtopic.php?f=8&t=24788

_________________
ImageImage


Last edited by STARGÅTE on Sun Aug 24, 2014 6:43 pm, edited 15 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sat Sep 17, 2011 10:29 pm 
Offline
Addict
Addict

Joined: Wed Aug 31, 2005 11:09 pm
Posts: 3573
Location: Italy
Very nice, good work !

_________________
[ A little PureBasic review ]


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sat Sep 17, 2011 10:49 pm 
Offline
PureBasic Bullfrog
PureBasic Bullfrog
User avatar

Joined: Wed Jul 06, 2005 5:42 am
Posts: 7624
Location: Kelowna, BC, Canada
Looks excellent and quite useful too. Thanks for sharing 8)

_________________
Veni, vidi, vici.


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sun Sep 18, 2011 3:23 am 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 3496
Location: Lyon - France
Splendid :shock:
Thanks a lot for sharing 8)

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sun Sep 18, 2011 3:44 am 
Offline
Addict
Addict

Joined: Wed Aug 24, 2005 8:39 am
Posts: 2736
Location: Southwest OH - USA
Good one :D

Thanks for sharing.


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sun Sep 18, 2011 11:43 am 
Offline
Addict
Addict

Joined: Tue May 06, 2003 5:07 pm
Posts: 2420
Location: UK
Very nice!

When you've got the arrows to scroll the tabs, you should show the new tab button only when the scrolling is at the end, like in Firefox.


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sun Sep 18, 2011 11:56 am 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 1217
Very, very useful. Excellent work. Thank you, very much!


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Sun Sep 18, 2011 9:52 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1325
Awesome! Looks very good, and I like the way you handle your custom events.

... I wish I had a use for this right now! :)


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Mon Sep 19, 2011 2:55 am 
Offline
Addict
Addict
User avatar

Joined: Wed Mar 24, 2004 11:04 pm
Posts: 889
Location: Seattle, USA
I think we're going to be seeing LOTS of interesting gadgets from folks with the new canvas gadget.


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Mon Sep 19, 2011 8:17 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Apr 25, 2005 9:28 pm
Posts: 692
Location: $300:20 58 FC 60 - Vietnam
:shock: Awesome, thanks for sharing

_________________
“Fear is a reaction. Courage is a decision.” - WC


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Tue Sep 20, 2011 1:19 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 14, 2011 6:07 pm
Posts: 243
Location: Lebanon
very very nice, clean! Thanks a lot for sharing

this kind of cross platform gui work fills an important gap in PB! Great idea, this new canvas gadget.

Since this is my first post, i'd like also to thank the whole forum community, it is just a great one! I have learned so much from you all. Thank you all.


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Tue Sep 20, 2011 2:08 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1084
Location: Germany, Glienicke
I thank you all for your praise.

If you have ideas yet, just bring it.
my ideas for flags for next version:
- multi-line tab bar instead of scrolling
- Text cutting off in too many tabs instead of scrolling like

_________________
ImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Tue Sep 20, 2011 5:36 am 
Offline
PureBasic Protozoa
PureBasic Protozoa
User avatar

Joined: Fri Apr 25, 2003 3:08 pm
Posts: 3850
Location: Not Sydney!!!
I remember wanting something like this a few years ago, nicely rounded tabs and lacked the skill to make them.

This looks pretty, just hope I can understand it enough to incorporate it. Would look very nice in a project I have in mind.

Thanks STARGÅTE, looks great!

_________________
Amateur Radio, D-STAR/VK3HAF


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Tue Sep 20, 2011 12:38 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Sep 24, 2010 12:02 pm
Posts: 123
Location: world wide web
hmmmm ,nice example with this .pbi but if you wanna see the rest just go here and download all you are interested :

http://data.unionbytes.de/



eg:
http://data.unionbytes.de/TabTable.pbi
http://data.unionbytes.de/TableGadget.pbi
http://data.unionbytes.de/TabBarGadget.pbi

i am not a hacker :mrgreen: :mrgreen: :mrgreen:
he have a .httaccess wrong functional :mrgreen:


so i see this too :
http://data.unionbytes.de/GuttPhysik/

wooow :twisted:


Top
 Profile  
Reply with quote  
 Post subject: Re: TabBarGadget - Tabs like in a browser
PostPosted: Tue Sep 20, 2011 12:59 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1084
Location: Germany, Glienicke
lol,
some of these codes are very old and are no longer supportet by me.
this directory is just a data platform for public.

"he have a .httaccess wrong functional"
No, this is as true, finally I've written this own directoyindex

_________________
ImageImage


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 119 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Baidu [Spider], StarBootics and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye