Declaration: attachCallBack(bstrName as String,varCallBack as Variant)
Description The Document Editor PlugIn provides events which can be handled using custom callback functions. All event handlers take no parameters and any returned value will be ignored. To retrieve information when a specific event is raised you have to read the according properties of the event object.
// OnDrop() replaces the complete text value of the XML
// element with the selection from the drag operation
function OnDrop()
{
var objTransfer = objPlugIn.event.dataTransfer;