Results 1 to 7 of 7

Thread: RTF drag and drop

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Lightbulb RTF drag and drop

    Hi,
    Well i changed my Textbox with the RTF box, and i noticed when i drag and drop web pictures to the RTF box i get the picture itself

    I was wondering if it's possible to get the image link instead of the image itslef?


    Cheers

  2. #2
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: RTF drag and drop

    Depends on from where are you starting the drag. If from IE I don't think you can get the link but if it is WebBrowser perhaps.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: RTF drag and drop

    A....well im doing it from firefox...but it would be cool to take the link from both browsers...dont know how to do that..where to start? hmmm

  4. #4
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: RTF drag and drop

    Since you are dragging an image from Firefox to your RTB I see no way to get the underlying link of that image. The same problem would exist with using IE.

    Using the WebBrowser, however, is different since you have control over the HTML code and would be able to pull out the link for that image and when you drop the image onto your RTB you would be able to have the link appear instead of the image.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: RTF drag and drop

    Yeah..it possible that way...
    But implementing WebBrowser will cost me additional memory

  6. #6
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: RTF drag and drop

    Quote Originally Posted by batori
    Hi,
    Well i changed my Textbox with the RTF box, and i noticed when i drag and drop web pictures to the RTF box i get the picture itself

    I was wondering if it's possible to get the image link instead of the image itslef?


    Cheers
    Tell me how you drag a picture from IE onto your RTB?

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: RTF drag and drop

    Well i drag from mozilla....

    i just take the image with the left mouse click and drag it to the rtf, and i get the complete image in my RTFbox..and i would like to get the image location link instead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width