Application.OnDocumentOpened

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > Application API > Interfaces > Application > Events >

Application.OnDocumentOpened

See also

 

Event: OnDocumentOpened(objDocument as Document)

 

Description

This event gets fired whenever a document opens in Authentic Desktop. This can happen due to opening a file with the OpenFile or OpenURL dialog, creating a new file or dropping a file onto Authentic Desktop. The new document gets passed as parameter. The operation cannot be canceled.

 

Examples

Given below are examples of how this event can be scripted.

 

XMLSpy scripting environment - VBScript:

Function On_OpenDocument(objDocument)

End Function

 

XMLSpy scripting environment - JScript:

function On_OpenDocument(objDocument)

{

}

 

XMLSpy IDE Plugin:

IXMLSpyPlugIn.OnEvent (7, ...)        // nEventId = 7

 

 

 


(C) 2019 Altova GmbH