OnBeforeCopy
Event: OnBeforeCopy() as Boolean
XMLSpy scripting environment - VBScript:
Function On_AuthenticBeforeCopy()
' On_AuthenticBeforeCopy = False ' to disable operation
End Function
XMLSpy scripting environment - JScript:
function On_AuthenticBeforeCopy()
{
// return false; /* to disable operation */
}
XMLSpy 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.