realbasic-nug
[Top] [All Lists]

Re: DropObject Event Question

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: DropObject Event Question
From: Maximilian Tyrtania <maximilian.tyrtania@onlinehome.de>
Date: Sun, 31 May 2009 08:59:58 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <A4C82F3E-A571-4B52-87CB-DBA2EE537CD2@verizon.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Thread-index: AcnhvWjLpzvxek2wEd6VMwARJHaMlA==
Thread-topic: DropObject Event Question
User-agent: Microsoft-Entourage/11.3.3.061214
Hi,

I think the action parameter is set according to the modifier keys the user
might have held during the drag. You know, alt is copy, alt-command is link,
just like in the finder. Not sure how DragActionMove is different from
DragActionDefault.

Best,

Maximilian Tyrtania


Am 31.05.2009 6:52 Uhr schrieb "Karen" unter <keatk@verizon.net>:

> If have never done a whole lot with RB Drag and Drop. Some where
> along the way  (I just fired up 3.5.2 to check my memory) the
> DropObject event acquired an Action parameter it did not originally
> have. The language references lists 4 constants as possible values.
> 
> DragActionDefault:   Default action.
> 
> DragActionCopy:     Copy the dragged item.
> 
> DragActionMove:     Move the dragged item.
> 
> DragActionLink:     Link the dragged item.
> 
> 
> 
> My question what causes these to be set to anything but default?
> 
> I know for example that Listbox.DragReorderRows sets it to
> DragActionMove. Useful only in that you know you don't have to handle
> the drop in the DropObject Event.
> 
> 
> 
> When else would it be set?
> 
> Was this something that was meant for future expansion that has not
> happened?
> 
> Is it something I need to worry about?
> 
> 
> 
> - karen
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
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>