Is dragItem nil too??
You may need to call drag.drag in order to initiate the dragging...
On 10/01/2007, at 5:50 AM, jim_meyer wrote:
Can anyone tell me what I am doing wrong here?
This is my code in a ListBox.DragRow event:
///////////
Function DragRow(drag As DragItem, row As Integer) As Boolean
dim p as Picture
p = NewPicture(100,100,32)
if p <> nil then
drag.Picture = p
return true
else
return false
end if
End Function
////////////
...... but if I set a break point at "return true" and look at
drag.picture it is nil.... and not surprisingly the drop event
picture is also nil.
Thank you,
Jim
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>