If anyone is interested… I am putting the finishing touches on a Toolbar control (yes… another one)…
This one however… looks EXACTLY like the Cocoa toolbar (unified look etc)… supports Large/Small icons, Icon Only, Text only etc…
Supports Flexible space on BOTH OSX and WIN, Supports proper “checkbox” selection (OSX doesn’t with the native control)
Supports a VISIBLE property so buttons can be displayed or not
Supports access to ToolButton data via Index AND by NAME
is based on a single CANVAS control (but it autolocks itself to top of window)
All methods and properties are exact duplicates of TOOLBAR and TOOLBUTTON as they exist now with a few minor exceptions
Since it is based on a standard control, you need to instantiate it. This will create the toolbar, and the unified background (OSX). But since it is a control, the developer has to manage the space below it… Only major drawback I’ve seen so far
You have to add the toolbar as part of creating a toolbutton (ie. tb=new rdsTOOLBUTTON(self) )
there are EZ methods in the toolbar to quickly create Toolbuttons, such as
Almost all the properties of any toolbutton can be altered “on the fly” and the toolbar will automatically reflect the change (change captions, change icons, heck even change the TYPE of button)
Supports 24x24 and 32x32 icons independantly, if you only supply one, it will build the other for you, but this way you can have the best quality icons (or even different ones) for each toolbar size.
I currently have almost everything in place for OSX… .and it is “working” with Windows7, just need to tweak the visual part for Windows and it will be ready.
If there is any interest, I will (in a few days) post a copy of the control with a fixed expiration for you all to play with…
and then make available an encrypted class version, and source code version for sale if the interest is still there.