Altova XMLSpy 2024 Enterprise Edition

Event: OnBeforeCopy() as Boolean

 

Scripting environment - VBScript:

Function On_AuthenticBeforeCopy()

 ' On_AuthenticBeforeCopy = False  ' to disable operation

End Function

 

Scripting environment - JScript:

function On_AuthenticBeforeCopy()

{

 // return false;  /* to disable operation */

}

 

IDE Plugin:

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

 

Description

This event gets triggered before a copy operation gets performed on the document. Return True (or nothing) to allow copy operation. Return False to disable copying.

© 2017-2023 Altova GmbH