How to know when a drop has finished ?

General TRichView support forum. Please post your questions here
Post Reply
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

How to know when a drop has finished ?

Post by Stef »

After a drop I want to move the dropped content to the definite RVE and clear the temporary RVE, which I use as drop container.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If it's for that drag&drop program, I think you can use OnChange
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

Yes Sergey,
it's indeed for that drag&drop part,
if you're interested, take a look at the description of the drag&drop part here

http://oase.uci.kun.nl/~mientki/pic/jal ... _drop.html

Question: do you it's usefull, that I create a small application, based on this issue for the example section, or do you want to keep the example section clean with just your examples ?

btw, If you click on the mainindex, you can see what the program as a whole should become. I need a number of weeks to add some essential functions to the program, after that I'll ask you to add the JALcc program to your RichView Applications section ;-)

About the "onFinishDrop", I'll try the OnChange event, but I expects that it will be fired more then once, also halfway the drop action ??

cheers,
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I created the demo solving this problem:
http://www.trichview.com/forums/viewtopic.php?t=132
OnChange may really be called several times (when user drops multiple files).

I'll be glad to add your example in the forum, and your application on my site :)
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

AMAZING !!
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

Sorry I'm too unfamiliar with events in components,
and I really would like to have the DragOver event in TRichViewTarget.

You've already a comment line in code to "implement onDragOver",
but I couldn't find the solution how to implement this by trial and error :-(

I just need the X-coordinate during dragover, to animate the picture.

please ...

thanks,
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Ok, I'll post an update tomorrow.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Done
Post Reply