ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Detect Drag-Drop from ImageEnMulti to ImageEnVect

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Nov 08 2016 : 08:35:43
Hello,

I want to allow user to drag an image from ImageEnMultiView to ImageEnVect which will be holding multiple vector shapes.

Now how can I detect as to on which vector shape the user has dropped an image? Based on this I want to load the image in that vector shape.

Any ideas as to how to do this?

Please guide if possible.

TIA


Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Nov 09 2016 : 14:12:24
You may download a demo here which shows one way to accomplish dragging an image from TImageEnMView to a selected bitmap object in TImageEnVect.
attach/w2m/20161110102751_DragImageVectorial.zip
60.14 KB
1. Open- Open an image.
2. Create- Create a Bitmap object
3. Select- Select the object
4. Drag the image thumbnail to the selected object.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development

yogiyang Posted - Nov 09 2016 : 07:37:12
Hello Nigel,

Yes you are right, every item in TImageEnMView will be image.

What I want to do is allow user to drag an Image from TImageEnMView and drop it on TImageEnVect.

In TImageEnVect user will have create multiple ImageObjects (miPutBitmap) interactively.

Now the user want facility to drag an Image thumbnail from TImageEnMView to TImageEnVect and drop it on an ImageObject.

I want to detect as to on which ImageObject did the user drop the image thumbnail from TImageEnMView and load the image in that particular ImageObject.

I hope now it is more understandable.

TIA


Yogi Yang
xequte Posted - Nov 09 2016 : 03:39:14
Hi Yogi

Sorry, I don't understand. By nature, every item in an TImageEnMView will be an image...

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com