Altova XMLSpy 2024 Enterprise Edition

GridView.OnBeforeStartEditing

Home Prev Top Next

Event: OnBeforeStartEditing(objXMLData as XMLData, bEditingName as Boolean)as Boolean

 

XMLSpy scripting environment - VBScript:

Function On_BeforeStartEditing(objXMLData, bEditingName)

 ' On_BeforeStartEditing = False  ' to prohibit editing the field

End Function

 

XMLSpy scripting environment - JScript:

function On_BeforeStartEditing(objXMLData, bEditingName)

{

 // return false;  /* to prohibit editing the field */

}

 

XMLSpy IDE Plugin:

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

 

Description

This event gets fired before the editing mode for a grid cell gets entered. If the parameter bEditingName is true, the name part of the element will be edited, it its value is false, the value part will be edited.

 

 

© 2017-2023 Altova GmbH