piDogDataView.DataView.CellDropObject

Scope: Public
Event CellDropObject(row as integer, column as integer, obj as DragItem, action as dragitem.types) As Boolean
Will be fired when the user drops an object on the list unless true was returned from dragover event.

Return true if you've handled the event, otherwise the DropRows or DropCells event will fire.


Example:

if row=-1 or column=-1 then Return false
If obj.PictureAvailable then
me.RowPicture(row)=obj.Picture
elseIf obj.TextAvailable then
me.cell(row,column)=obj.Text
elseif obj.FolderItemAvailable then
me.cell(row,column)=obj.FolderItem.Name
end if