S
Stamppot
Hi,
I'm using the DocumentChange event to handle stuff when I'm changing between
documents, loading or creating a new document. I use forms for different
stuff, and when opening a form or any form of dialog (e.g. MessageBox), and
the focus is returned back to the same document, the DocumentChange event is
fired. How can I avoid this behavior such that it only fires (or checks) when
changing from a document to another document?
Strangely enough, this also results in forms being popped up again a number
of times (usually from 2-5 times) when pressing either Ok or Cancel.
Thanks,
Jens
I'm using the DocumentChange event to handle stuff when I'm changing between
documents, loading or creating a new document. I use forms for different
stuff, and when opening a form or any form of dialog (e.g. MessageBox), and
the focus is returned back to the same document, the DocumentChange event is
fired. How can I avoid this behavior such that it only fires (or checks) when
changing from a document to another document?
Strangely enough, this also results in forms being popped up again a number
of times (usually from 2-5 times) when pressing either Ok or Cancel.
Thanks,
Jens