Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop from web browser control to editbox
Message
 
 
To
02/05/2004 12:47:19
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00900195
Message ID:
00900200
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
Dragan,

You can set your editbox to allow OLEDragDrop... but I found the reliability of dragging selected text and dropping it into an editbox to be pretty poor. I just use ctrl-c to copy the selected browser text to the clipboard, ctrl-v it into the editbox.

>I'm writing something that picks stuff from the web and allows the user to write comments about it. Now for adding quotes from pages visited (the form includes a web browser object), I thought it would be cool to just select some content from the webpage, and drop it into an editbox.
>
>However, anything I have found in Help and Hackfox (still on V6 on that one) shows only how to drag whole controls. What I'd like is to drag just the selection, the way it works in development, between any two code windows. Is there a simple way to do it? If not, I figure I could just play with the rightclick event of the browser control and add the copy-paste feature there. That would be a good enough replacement.
>
>If it is not obvious, here's a statement: I have never tried to code drag and drop.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform