Dragging an item onto an Outlook Form

Add-in Express™ Support Service
That's what is more important than anything else

Dragging an item onto an Outlook Form
 
Richard Stevens


Guest


Is it possible to configure an Outlook form - in the Explorer view, for example - where you can respond to Outlook items such as emails being dropped onto it? At the moment if you drag anything onto the form the cursor indicates that it is not being accepted, no matter how you configure the controls on the form.

Thanks,
Richard
Posted 30 Nov, 2006 15:56:24 Top
Fedor Shihantsov


Guest


Do you mean ADXOlForm?

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 01 Dec, 2006 02:27:33 Top
Richard Stevens


Guest


Yes.
Posted 01 Dec, 2006 02:57:33 Top
Fedor Shihantsov


Guest


Set the AllowDrop property to true and specify desired e.Effect in the DragOver event.
Posted 01 Dec, 2006 06:27:12 Top
Richard Stevens


Guest


Sorry, I'm sure I'm being very dim today but I can't see an AllowDrop property for the form - or for anything else. The OnDragOver event for the form has an Accept parameter, which I'm setting to true, but the cursor still shows it as being refused and the Label caption in the code below doesn't get set.

procedure TDMFolderFinderForm.adxOlFormDragOver(Sender, Source: TObject; X, Y:
Integer; State: TDragState; var Accept: Boolean);
begin
Accept := True;
Label1.Caption := 'I am being dragged onto';
end;

Richard
Posted 02 Dec, 2006 11:16:16 Top
Fedor Shihantsov


Guest


Hi Richard,

I am sorry, my advice was related to .NET
Regarding DragDrop in VCL, you can see the following link
http://www.mail-archive.com/delphi@elists.org/msg02237.html
Posted 04 Dec, 2006 07:10:31 Top