changes.mady.by.user Servoy Docs
Saved on Aug 30, 2013
Saved on Oct 16, 2013
...
function startDrag(event) { if(event.getElementName() == "copy") return DRAGNDROP.COPY; else if(event.getElementName() == "move") return DRAGNDROP.MOVE return DRAGNDROP.NONE; }
if (event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY || event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY_RECORD) { application.output("Dropping is allowed" ); return true; } else {
application.output("Dropping is not allowed" ); return false; }