Please enable JavaScript to view this site.

Altova XMLSpy 2022 Professional Edition

Event: OnBeforeDrag() as Boolean


XMLSpy scripting environment - VBScript:

Function On_BeforeDrag()

 ' On_BeforeStartEditing = False  ' to prohibit dragging

End Function


XMLSpy scripting environment - JScript:

function On_BeforeDrag()


 // return false;  /* to prohibit dragging */



XMLSpy IDE Plugin:

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



This event gets fired on an attempt to drag an XMLData element on the grid view. Return false to prevent dragging the data element to a different position.


© 2016-2022 Altova GmbH