zipwilly05
asked on
How do I create a toolbar button that will remove a folder?
How do I create a button on my toolbar that I can click to remove (delete) the currently selected folder? I understand how to create a custom toolbar but do not how to create a button that will perform the remove folder action.
I am running Lotus Notes client 8.0.1.
I am running Lotus Notes client 8.0.1.
ASKER
I have not written a LotusScript before.
How do I tie the execution of this script to toolbar button? Do I paste something into the Formuia box of the dialog that appears when I create a new toolbar button (see attachment)?
Where is the action that you reference in your response?
snap033.bmp
How do I tie the execution of this script to toolbar button? Do I paste something into the Formuia box of the dialog that appears when I create a new toolbar button (see attachment)?
Where is the action that you reference in your response?
snap033.bmp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did not realize that command was available. Your answer is most helpful.
Here's a function that will remove a folder from the current database. Just change the action type to LotusScript and paste this code into the 'Declarations' module. Then call the function from the action's click event like this:
Call RemoveFolder("Folder Name")
Open in new window