Re: NSOutlineView validateDrop Flips Values
Re: NSOutlineView validateDrop Flips Values
- Subject: Re: NSOutlineView validateDrop Flips Values
- From: Seth Willits <email@hidden>
- Date: Tue, 1 Feb 2005 09:59:32 -0800
On Jan 31, 2005, at 6:18 PM, Seth Willits wrote:
I'm attempting to add drag and drop support to an outline view in my
app (proving to be more difficult than I thought it would be) and I
came across a weird behavior. If I drag an item and hold it on top of
an item in the list, the proposedItem parameter to
validateDrop:proposedItem:proposedChildIndex: flips between an
appropriate value and nil every other time the message is sent. This
is without moving the mouse or anything. It simply changes on it's own
and I'm not sure why.
I'm still not sure _why_ this was happening, but after seven more hours
of trial and error I got the outline view accepting drops the way I
want it to.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former."
-- Albert Einstein
------------------------------------------------------------------------
---
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden