# WebImageView dragging

**URL:** <https://forum.xojo.com/t/webimageview-dragging/41809>\
**Category:** Web\
**Created:** [January 26, 2018, 11:44pm UTC](https://forum.xojo.com/t/webimageview-dragging/41809 "2018-01-26T23:44:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Weger](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/dc4da7/32.png) [@Charles\_Weger](https://forum.xojo.com/u/Charles_Weger)\
**Post date:** [January 26, 2018, 11:44pm UTC](https://forum.xojo.com/t/webimageview-dragging/41809/1 "2018-01-26T23:44:55Z")

</div>

I have a WebImageView that I’d like to drag onto a container control, much like in the example that ships with Xojo.

If this imageView is populated with a local picture, it works fine. But if I populate it by setting the WebImageView URL, I get an untrappable runtime NilObjectException from “WebImageView.\_GetDragData” when I do the drop.

Is there a correct way to make this work, or am I just out of luck with WebImageView, in which case I should maybe subclass a canvas and fill it manually from the URL?

Xojo 2017r3, Mac OS 10.12.6

Thanks!

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [January 27, 2018, 2:47am UTC](https://forum.xojo.com/t/webimageview-dragging/41809/2 "2018-01-27T02:47:23Z")

</div>

Please file a bug report with a small sample project so we can fix this.

---

<div class="post-metadata">

**Author:** ![Charles\_Weger](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/dc4da7/32.png) [@Charles\_Weger](https://forum.xojo.com/u/Charles_Weger)\
**Post date:** [January 27, 2018, 3:32am UTC](https://forum.xojo.com/t/webimageview-dragging/41809/3 "2018-01-27T03:32:59Z")

</div>

Feedback 51242

\<[https://xojo.com/issue/51242](https://xojo.com/issue/51242)\>

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:05pm UTC](https://forum.xojo.com/t/webimageview-dragging/41809/4 "2020-10-29T19:05:06Z")

</div>


