ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Draw on image object on useform (https://www.excelbanter.com/excel-programming/431335-draw-image-object-useform.html)

ron mann

Draw on image object on useform
 
Hi All,

Hope you can assist.

I have a userform called repairable_AR on which I have a image (image1).

I would like to be able to add code to allow me to free draw on the image on
a mouse down event (left button) without moving or changing the image.

I have researched this quite a lot and think that it is possible but can't
seem to come up with code that will support this function.

Any help with this problem would be greatly appreciated.

Cheers

Ron.
--
Thanks

Ron

ryguy7272

Draw on image object on useform
 
Maybe this:
http://www.andypope.info/vba/userformdraw.htm

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"ron mann" wrote:

Hi All,

Hope you can assist.

I have a userform called repairable_AR on which I have a image (image1).

I would like to be able to add code to allow me to free draw on the image on
a mouse down event (left button) without moving or changing the image.

I have researched this quite a lot and think that it is possible but can't
seem to come up with code that will support this function.

Any help with this problem would be greatly appreciated.

Cheers

Ron.
--
Thanks

Ron


ron mann

Draw on image object on useform
 
Hi Ryan, Thanks for your reply and information.

The demo does not actually hit the mark.

What I need to be able to do is free form drawing on an image. When the
mouse pointer enters the image frame and the mousedown is activated by
holding the left mouse button down, I need a free form line to be painted to
the image object

Hope you might be able to shine some light on this.

Thanks again.
--
Thanks

Ron


"ryguy7272" wrote:

Maybe this:
http://www.andypope.info/vba/userformdraw.htm

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"ron mann" wrote:

Hi All,

Hope you can assist.

I have a userform called repairable_AR on which I have a image (image1).

I would like to be able to add code to allow me to free draw on the image on
a mouse down event (left button) without moving or changing the image.

I have researched this quite a lot and think that it is possible but can't
seem to come up with code that will support this function.

Any help with this problem would be greatly appreciated.

Cheers

Ron.
--
Thanks

Ron


ryguy7272

Draw on image object on useform
 
I thought you meant that. Hummmm... I'm pretty sure I've never seen a free
form line used on a UserForm. Maybe one of the MVPs will jump in and confirm
or deny whether this can be done.

Good luck,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"ron mann" wrote:

Hi Ryan, Thanks for your reply and information.

The demo does not actually hit the mark.

What I need to be able to do is free form drawing on an image. When the
mouse pointer enters the image frame and the mousedown is activated by
holding the left mouse button down, I need a free form line to be painted to
the image object

Hope you might be able to shine some light on this.

Thanks again.
--
Thanks

Ron


"ryguy7272" wrote:

Maybe this:
http://www.andypope.info/vba/userformdraw.htm

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"ron mann" wrote:

Hi All,

Hope you can assist.

I have a userform called repairable_AR on which I have a image (image1).

I would like to be able to add code to allow me to free draw on the image on
a mouse down event (left button) without moving or changing the image.

I have researched this quite a lot and think that it is possible but can't
seem to come up with code that will support this function.

Any help with this problem would be greatly appreciated.

Cheers

Ron.
--
Thanks

Ron



All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com