uiw.DialogBox, queryOpen querySave

Hi, I encoutered a problem in the Notes 8.0.2 client.

Description:

In a custom application I’m using a uiw.dialoBox to interact with the document displayed in the notes client.

This dialogBox display a form.

This Form contains code in the QueryOpen/Save events.

with the 6.x.x or 7.x.x there is no problems, all the code contained in the events are excuted.

But, in the v8.0.2 the code is not executed… What a (very bad) surprise !

I thought it was an incompatibility in my code and I tried displaying simple MsgBox(“Hello”) in these Queryxxx Event aAnd… it didn’t works…

  • I didn’t test this in the v8.5

  • Is there a way to resolve this problem in the v8.0.2 without modifying the app ?

Thanks.

Subject: QueryClose

With dialog boxes I normally put all my validation code in the QueryClose event.

Firstly I check for NotesUIDocument.DialogBoxCanceled Property and if it’s false I perform the validation. If validation fails ‘Continue’ is set to false.

Alex

Subject: I migrate the @DialogBox code in a UIForm.

Ok, thank you for the response. The problem is that I need to use QueryOpen event and QuerySave event too. So I decided to developp my interface in a other way :

I open a new UIDoc and all the event are triggered there.

Thank you

Bye

Richard.