Enhanced ToolBar

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Enhanced ToolBar

Post by gedumer »

Is there any chance that the ToolBar gadget can be enhanced to allow other gadgets to be placed on the toolbar besides buttons and separators? As an example look at any WebBrowser. They usually allow comboboxes, edit controls, etc. This would be a nice feature.
univeda
User
User
Posts: 22
Joined: Wed May 13, 2009 12:40 am
Location: Germany

Post by univeda »

Have a look at ToolBarPro, it is part of the PBOSL.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Or nxToolbar which is a conversion of ToolBarPro to Purebasic source but is threadsafe and Unicode compliant. :wink: Just search the forums.

There is also Eddy's ToolbarPlus :

http://www.purebasic.fr/english/viewtop ... light=eddy
I may look like a mule, but I'm not a complete ass.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Just place the gadgets directly on the window and place the toolbar buttons in a toolbar inside a container gadget to get them beside the other gadgets.
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Post by gedumer »

univeda wrote:Have a look at ToolBarPro, it is part of the PBOSL.
This appears to be Windows only.
srod wrote:There is also Eddy's ToolbarPlus
I'm not sure about ToolBarPlus, but it also seems to be Windows also.
Trond wrote:Just place the gadgets directly on the window and place the toolbar buttons in a toolbar inside a container gadget to get them beside the other gadgets.
This seems to be a plausible solution... I'll try it out.

Thanks to all...
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

univeda wrote:
Have a look at ToolBarPro, it is part of the PBOSL.

This appears to be Windows only.
I think there is a Linux version, don't know about Mac.
http://www.purebasic.fr/english/viewtop ... toolbarpro
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Post by gedumer »

gedumer wrote:
Trond wrote:Just place the gadgets directly on the window and place the toolbar buttons in a toolbar inside a container gadget to get them beside the other gadgets.
This seems to be a plausible solution... I'll try it out.
For anyone who may be curious about this... it works on Windows, but not on Linux. On Linux the ToolBar automatically takes the top portion of the window (below the menu... if any) and covers the entire width. A Container seems to have no effect on it at all.
Post Reply