• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

Lotus 7.x, Domino designer

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
Amitava_Mukherjee
Asked:
Amitava_Mukherjee
  • 5
  • 4
2 Solutions
 
Sjef BosmanGroupware ConsultantCommented:
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
 
Amitava_MukherjeeAuthor Commented:
Can you explain what the "Present mail send dialog" is? I can't find any such form !
0
 
Sjef BosmanGroupware ConsultantCommented:
Open the Memo form in the designer, and look on the 2nd tab... There's that option.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
mbonaciCommented:
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
 
Sjef BosmanGroupware ConsultantCommented:
Ah... yes... right, forgot to mention the Form Properties... :-))
0
 
Amitava_MukherjeeAuthor Commented:
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
 
Sjef BosmanGroupware ConsultantCommented:
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
 
Amitava_MukherjeeAuthor Commented:
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
 
Sjef BosmanGroupware ConsultantCommented:
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
 
Amitava_MukherjeeAuthor Commented:
Thanx, nice solution. Nice work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now