Dear Paul,
 
Might be worth checking out Angus Johnson and  Anders Melander's drag drop stuff  even though you are working within the one application, some of their logic might help, Twebbrowser or TembeddedWB sometimes almost behave as if thewy were not embedded in a delphi app at all.
 
 
Component:
 
 
Paul A Norman
----- Original Message -----
From: Paul Lyons
Sent: Wednesday, 1 September 2004 1:56 p.m.
Subject: [DUG] dragging between tWebBrowser & tRichEdit

Hi
 
I have an application that allow a user to drag information from a WebBrowser component to a RichEdit component.
 
The actual information transfer occurs without any problems at all. However, the application needs to record the URL of the source webpage, and I can't  find a way to alert the it to the fact that the drag-and-drop event has occurred.
 
I thought I could use the onDragDrop event that tRichEdit inherits  from tControl, but it doesn't fire (nor does onEndDrag). There are Delphi examples for those events in the Help system, and they work fine, but not when I try to apply them to my application.
 
The tRichEdit and the tWebBrowser components are both created dynamically, but I know to assign the event handler procedure to the event name (e.g. onDragDrop := recordSourceURL), so that isn't the problem...
 
_________
 
Paul Lyons
_________


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to