Solved

Lotus 7.x, Domino designer

Posted on 2010-08-21
10
422 Views
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?
0
Comment
Question by:Amitava_Mukherjee
  • 5
  • 4
10 Comments
 
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.
0
 

Author Comment

by:Amitava_Mukherjee
ID: 33491116
Can you explain what the "Present mail send dialog" is? I can't find any such form !
0
 
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.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 22

Assisted Solution

by:mbonaci
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.
0
 
LVL 46

Expert Comment

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

Author Comment

by:Amitava_Mukherjee
ID: 33498092
sjef_bosman:

"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"?
0
 
LVL 46

Accepted Solution

by:
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!
0
 

Author Comment

by:Amitava_Mukherjee
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?

Thanx
0
 
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...
0
 

Author Closing Comment

by:Amitava_Mukherjee
ID: 33499879
Thanx, nice solution. Nice work.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

786 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