The answer comes (verbatim) courtesy of John McComb in the Logos Newsgroups:
Suppose you want to put all your bibles (for instance) into one button. For the sake of this example we’ll call the drop down toolbar the ‘bibles’ toolbar and the button you create to access it the ‘all bibles’ button.
Just follow these steps:
- Make a regular toolbar with a button for each bible. Make each one more or less the same width (i.e. if you display both icon and text or text only then make the text strings approximately the same width). You don’t have to do this but it works better ascetically. You will see why if you make one button much wider than the others.
- When you have finished the bibles toolbar (and have tested all of the buttons) undock it from the toolbar area. That is, make it into a floating toolbar by clicking on the extreme left handle (don’t know what else to call it) and dragging it down into the window area of the main application window. It doesn’t matter where you put it. You’re going to make it invisible in a second anyway.
- Right click your your bibles toolbar and uncheck it so it disappears. Don’t redock it on the toolbar area before you do this. It has to be undocked to work as a popup.
- Save your workspace.
- Now, create a new button of type “Run Script Code” in the spot where you want your bible drop down list. This is the ‘all bibles’ button. Name it and assign it an icon in the usual way.
- With a text editor, edit your ‘bibles’ toolbar file and copy the name of the toolbar. The name you want is the one in the command-bar tag. It will be a long string of gibberish. e.g. something like:
"id8FA76415AAE54FF48AA04567A10A733F"Don’t make any changes to the toolbar file. You only want the name.
In the script code box of the button editor of the ‘all bibles‘ button put the following script:
var objBar = Application.CommandBars.Item([name]);
objBar.Width = 5;
objBar.Height = 800;
Where [name] is that long string of gibberish you retrieved from your bibles toolbar file in quotes thus:
- Save your new button and try it out.
The first time you use the ‘all bibles’ button your ‘bibles’ toolbar will disappear from your right click menu. I think this is because once you ‘pop it up’, Libronix changes its view of the toolbar ‘Type’ from cbBarTypeNormal to cbBarTypePopup. That doesn’t mean you can’t edit it any more. If you “right click->Customize” it will still appear in your list of custom toolbars. You can even recheck it from this menu if you like. If you do this, though, it won’t reappear as a floating toolbar until the next time you start up Libronix.
I haven’t tried this but I’ll wager that you can make nested drop down lists. That is make some (or all) of the buttons on your drop down toolbar drop-down type buttons as well.
— Thanks John!