Is it just me, or does it make no sense that calling ws.refreshparentnote in the terminate event for a form used in a dialogbox causes the flag returned by ws.dialogbox to ALWAYS be TRUE?
Subject: NotesUIWorkspace.DialogBox method and RefreshParentNote Method
excerpt from Lotus Domino Designer 7 Help :
i>]noOkCancel/i>]
b>]Note/b>] This parameter is new with Release 5.
Boolean. Optional. Specify True to not display the OK button. Otherwise, the
dialog box contains the OK button. Using this parameter prevents any changes
made in the dialog box from being reflected in the current document. Use the
RefreshParentNote method if you want changes to be reflected in the current
document but don’t want an Ok button to display.
I am guessing that using RefreshParentNote always sets the flag returned by
NotesUIWorkspace.Dialogbox to TRUE.
I am thinking that way because when you press OK on a dialog box you usually
want changes to be applied on the underlying document. I would think the same
would apply for the use of RefreshParentNote.
I’m not sure that’s the information you wanted to hear.
Hope it helps