Problem with Drag and Drop functionality

Hi,
I am facing problem with drag and drop functionality.I had written functionality to drag a text file from my desktop and place the content in the txt file in the form label.But i am unable to get data.

"if (event.getElementName() == ‘drag_and_drop’ && event.data) {
application.output(‘entered in drag over:true’)
return true;
}

application.output(‘entered in drag over:false’)
return false;"

Every time i am getting event.data is null.So nothing is dragged onto label.Please provide me a solution how to resolve this.I am using Servoy 6.0 and MAC OS X version 10.7.2

Thanks,
PKB

this simple test:

function onDrop(event)
{
	application.output("drop: " + event.data);
	// TODO Auto-generated method stub
	return true
}

function onDragOver(event)
{
	application.output("onover: " + event.data);
	return true;
}

is working fine for me. when attaching both methods to the right form events.