Lotus 7.x, Domino designer

Posted on 2010-08-21
Last Modified: 2013-12-18
I want to write code in "Send Mail dialog box " -> Send button. The dialog box appars when any unsaved new memo is tried to be closed in lotus client 7.x. Is there any form available for that dialogbox? If not, how can i customize the button codes in that dialogbox?
Question by:Amitava_Mukherjee
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 46

Expert Comment

by:Sjef Bosman
ID: 33491071
That (fixed) dialog box appears automatically because the option in the form "Present mail send dialog" is activated.

AFAIK all you can do is switch off that option and implement your own dialog box.

Author Comment

ID: 33491116
Can you explain what the "Present mail send dialog" is? I can't find any such form !
LVL 46

Expert Comment

by:Sjef Bosman
ID: 33491202
Open the Memo form in the designer, and look on the 2nd tab... There's that option.
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

LVL 22

Assisted Solution

mbonaci earned 50 total points
ID: 33494930
Sjef means to say that it' in form properties (right click on form in Designer -> Form properties), second tab.
But you won't be able to modify that dialog box, you can only turn the feature off, as he explained.
LVL 46

Expert Comment

by:Sjef Bosman
ID: 33495046
Ah... yes... right, forgot to mention the Form Properties... :-))

Author Comment

ID: 33498092

"AFAIK all you can do is switch off that option and implement your own dialog box." - Now i understand the first portion of your sentence. Its terrific. Now i can "switch off that option ", but can you explain how can I "implement my own dialog box"?
LVL 46

Accepted Solution

Sjef Bosman earned 450 total points
ID: 33498958
Ah, yes, sorry :-))

To have your own dialog box in Notes, which won't be easy if you haven't a lot of experience developing Notes applications yet:
- you have to write:modify code in the button or action
- either @DialogBox in Formula language or NotesUIWorkspace.DialogBox in LotusScript
- you have to create a form with the text, fields and buttons you want to show
- best done in a fixed size table, and then use the [SIZETOTABLE] option

Read the Help database on this subject, I can recommend it!

Author Comment

ID: 33499039
Yes I understand that I have to write code for that custom dialogbox. But In which event it will popup? Is it will be in any event of the Memo form? I just want to know the Control Name and Event Name. Rest I can figure out, how to do or what to do. Can you please help go put some light on that area?

LVL 46

Expert Comment

by:Sjef Bosman
ID: 33499816
You could try the QuerySave event, but you might have to prevent a re-send of the document in case it's only modified. You could also add the code to the Send-button.

Are you modifying one of the standard mail templates of Notes? I'd advise you not to, if you upgrade your system regularly, because you'd might have to redo the modifications every time you upgrade. But if you plan to stay on R7...

Author Closing Comment

ID: 33499879
Thanx, nice solution. Nice work.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question