How to implement a "pulldown toolbar button" in the toolbar of Notes using Lotusscript

Dear All,

I have implemented a new toolbar in Notes. For that, I have first created the new toolbar structure in Notes (via a right click on the Notes toolbar area → Toolbar Preferences).

Then I have written some agents in Lotusscript (via Domino Designer) that are called by the buttons of my toolbar.

All works fine but I have an additional question: is it possible to implement a “pulldown toolbar button” of the Notes toolbar using Lotusscript?

By “pulldown button”, I mean a button that can be clicked to get a new sub-menu (it is like the “New” button in Notes that allows to either create a new message, a new calendar entry or a new Contact).

I know it is possible using JAVA API in Notes 8.

I have tried the following solution:

In Domino designer, I have created actions/sub-actions in a new form.

I have created a new button in Notes (via a right click on the Notes toolbar area → Toolbar Preferences).

Then, this button runs the following formula: @Command([Compose];@MailDbName; “MyFormContainingActions”);

The problem here is that the click on my button does not directly show the pulldown menu; it shows the form that contains my action with its submenu (also called subactions).

How can I implement a button of the Notes bar whose click directly shows a “pulldown menu”?

Thanks in advance for your help and support,

Mikaël Donini,

Arkadin Montpellier, France.

Subject: how to implement a “pulldown toolbar button” in the toolbar of Notes using Lotusscript

Though there are some things on the toolbar that have drop-down lists, these are all hard-coded into the client. I’ve messed around with this a little bit, but I haven’t found a way to make your own drop-down on the toolbar. I can’t rule it out, but I don’t know a way.

What you can do is use @Prompt in the toolbar button formula to create a dialog that lets the user make additional choices. The free download that accompanies this article contains a definition for such a toolbar button – also it contains code to install something into your toolbar by clicking a button, which you will need if you hope to distribute this to other users.