Tom.... thanks for the reply but......
No, the dragitem is not nil...... since the event fires the drag is
initiated..... so it should not need a drag.drag.... but I did try
that......
Jim
On Jan 9, 2007, at 4:09 PM, realbasic-nug-
[EMAIL PROTECTED] wrote:
Message: 20
Subject: Re: Listbox.DragRow
From: Tom Benson <[EMAIL PROTECTED]>
Date: Wed, 10 Jan 2007 07:46:04 +1100
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>