realbasic-nug
[Top] [All Lists]

Re: Is it even possible to drag and drop on the PC at all?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Is it even possible to drag and drop on the PC at all?
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Sun, 30 Sep 2007 22:59:08 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 66695 dot 1191184907 dot 256 dot realbasic-nug at lists dot realsoftware dot com> <1C9B7FCA-E015-4A6E-9427-B76A5C086B17 at elfdata dot com>
On 30 Sep 2007, at 22:12, Theodore H. Smith wrote:

>> Returning True from either DragEnter or DragOver prevents the  
>> DropObject
>> event from firing (according to the Language Reference). It seems  
>> to me all
>> you need is the DropObject event to accomplish what you're doing.
>
>
> Strange.
>
> Then it seems like the bug is that it DID work on the Mac. Either  
> way, the behaviour is inconsistant.

OK thanks a lot John McKernon.

That actually was what happened. Stupid thing was actually working on  
the Mac when it shouldn't have! So I figured that my "Return true"  
was good, when it was bad. The PC correctly reported the bug and I  
went insane trying to fix a bug based on the assumption that the Mac  
must have less bugs :)

Another reinforcement for the wisdom that assumptions are evil :)

Anyhow, it works now. With simpler code. On Mac and PC. Thanks!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>