Is it possible to determine that document opened in Dialog?

document could be open as new window as in dialog as well.

does anybody know how I can determine how document was opened?

thank you

Subject: RE: is it possible to determine that document opened in Dialog?

You can tell when they try to close it by the DialogBoxCanceled property. Otherwise, not that I know of, unless the caller gives you a signal, e.g. by setting a field to a special value.