Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread bill-lancaster
OK, I had a feeling I was being stupid! I don't need to show an icon anyway, just draw a shape that tracks the mouse during the drag event. Thanks anyway. -- View this message in context: http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829p58835.html Sent from the gambas-user ma

Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread bill-lancaster
Thanks Guys, Yes, I had looked at those examples already. They both have code like:- Drag.Icon = Last.Picture Last.Drag(Last.Picture.Image) or Last.Drag(Last.Tag) Drag.Icon = Picture["icon:/32/add"] Problem is that I don't have a last.image or a last.tag. I'm dragging a shape that has

Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread Charlie
Have a look at my previous efforts regarding this here http://gambas.8142.n7.nabble.com/Drag-Icon-td58574.html - Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Help-needed-with-drag-ico

Re: [Gambas-user] Help needed with drag icon

2017-04-27 Thread Gianluigi
Could You take a look at DragNDrop in Examples. Maybe it could help Regards Gianluigi 2017-04-27 16:23 GMT+02:00 bill-lancaster : > I have a DrawingArea with a series of images drawn within. > I can move an image within the DrawingArea but how to show a drag,icon > while > the image is being dra

[Gambas-user] Help needed with drag icon

2017-04-27 Thread bill-lancaster
I have a DrawingArea with a series of images drawn within. I can move an image within the DrawingArea but how to show a drag,icon while the image is being dragged? Public Sub dwgImage2_MouseDrag() Drag.Icon = Picture["icon:/64/linux"] End This code doesn't show any icon during the drag operet