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