Event: OnDocumentOpened (objDocument as Document)
Dispatch Id: 1
This event is triggered whenever a document is opened. The argument objDocument is a Document object from the XMLSpy automation interface and can be used to query for more details about the document, or perform additional operations. When integrating on document-level, it is often better to use the event XMLSpyControlDocument.OnDocumentOpened instead.