S
Serduko
Добрый день всем, подскажите, почему не работает на событии "On Event"?
Вызов:
Код:
Public Class Test
Public curUI As NotesUIDocument
Sub test
Dim newDoc As NotesDocument
Dim newUI As NotesUIDocument
Set curUI = ws.Currentdocument
Set newDoc = curdb.Createdocument()
newdoc.form = "DelegateDoc"
Set newUI = ws.Editdocument(True, newdoc)
On Event QueryClose From newUI Call test2
End Sub
Sub test2(s As NotesUIDocument, c As Variant)
MsgBox "test"
'curUI.Editmode = True
'curUI.Document.Subject = "URA"
'Call curUI.Refresh()
End Sub
End Class
Вызов:
Код:
Dim test as New Test
Call test.test()