Dear Paul,
 
I've been and had a look at the attachment that was scrubbed. It is a graphic (GIF) of a folder picture from the Yahoo Delphi Webbrowser news group .. a harmless GIF that Paradise has zealously suspected of being able to destroy the universe . .
 
Meanwhile, here is the posting I made, I hope that it is helpful:
 
===============================================
 
Dear Paul,
 
I remember hearing of this before.
 
If all else fails you can attach an eventhandler to the TwebBrowser or TEmbededWB that will "listen" for the dragcomplete type events from the Twebbrowser.
 
You may have to experiment with the avaialable browser events to see which is going to fire accurately to what you want, and you may need to monitor and confirm a change in the TrichEdit (TCustomEdit.OnChange), so you know that your browser event is related to a change in the Trichedit.
 
(IE 5 and up?) - Both the [window.document] and the  [window.document.body] objects support these events:
 
ondrag Fires on the source object continuously during a drag operation.
ondragend Fires on the source object when the user releases the mouse at the close of a drag operation.
ondragenter Fires on the target element when the user drags the object to a valid drop target.
ondragleave Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
ondragover Fires on the target element continuously while the user drags the object over a valid drop target.
ondragstart Fires on the source object when the user starts to drag a text selection or selected object.
ondrop       
 There is a specific forum for Delphi and Twebbrowser and TembeddedWB (search messages under "sink events" or like) :
 
 
(There you will find in their library/Files the units needed to get events in the browser to report to Delphi, I thinks that you'll need to register(free)/ log in first to access these.)
 
Alexei Reatov's event demo
How to hook into IHTML events
 
And
 
paul
 
Ph NZ 021 782 433
Fx NZ 021 292 2433
 
Overseas:
 
Ph. +6421782433
Fax +64212912433
 
P.O. Box 1005
Nelson 7015
New Zealand
----- Original Message -----
From: Paul Lyons
Sent: Sunday, 5 September 2004 7:29 p.m.
Subject: Re: [DUG] dragging between tWebBrowser & tRichEdit

Hi Paul
 
Sorry I didn't get back to you sooner; fell off a ladder and didn't move much under my own power for several days...
 
My ISP seems to have deleted the guts of your message. Can you send it to me in a format that Paradise won't censor?
 
Thanks
Paul Lyons
 
 
Message: 3
Date: Wed, 01 Sep 2004 14:33:42 +1200
From: Paul A Norman <
[EMAIL PROTECTED]>
Subject: Re: [DUG] dragging between tWebBrowser & tRichEdit
To: NZ Borland Developers Group - Delphi List <
[EMAIL PROTECTED]>
Message-ID: <
[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 893 bytes
Desc: not available
Url :
http://ns3.123.co.nz/pipermail/delphi/attachments/20040901/87c86b0f/attachment.gif
 
 
_________
 
Paul Lyons
_________
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to