BUG in Event Handling Mechanism

Hi to everybody.I Have the following problem:

As many programmers do I use code in OnFocus, OnExit, OnChange and others to control the application behaviour. Everithing looks fine untill the document save. If I save the document without closing it

@Command([FileSave])

and then open the document in edit mode again

uidoc.EditMode = True

then the events are not activated anymore. If I close the document and then open it in edit mode again everything works fine. Silly situation. I want to save the document without closing it.

That issue causes serious problems with my application. I think that this is a BUG in Notes, but maybe I’m wrong. Can someone help me on this issue.

Thanks in advance!

George Nazarov