Document.OnViewActivation

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

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

Document.OnViewActivation

See also

 

Event: OnViewActivation(objDocument as Document, eViewMode as SPYViewModes, bActivated as Boolean)

 

XMLSpy scripting environment - VBScript:

Function On_ViewActivation(objDocument, eViewMode, bActivated)

End Function

 

XMLSpy scripting environment - JScript:

function On_ViewActivation(objDocument, eViewMode, bActivated)

{

}

 

XMLSpy IDE Plugin:

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

 

Description

This event gets fired whenever a view of a document becomes visible (i.e. becomes the active view) or invisible (i.e. another view becomes the active view or the document gets closed). However, the first view activation event after a document gets opened cannot be received, since there is no document object to get the event from. Use the Application.OnDocumentOpened event instead.

 


(C) 2019 Altova GmbH