drag and drop

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

drag and drop

Post by jusWest »

Hello!

I know how to enable dragging a file into the editor control for opening a file:

Code: Select all

            pdfCtl.Inst.Settings["Docs.CanOpenByDrop"].v = true;
            pdfCtl.Inst.FireAppPrefsChanged(PDFXEdit.PXV_AppPrefsChanges.PXV_AppPrefsChange_Documents);
 
What I need though, is a way to intercept this. We want another functionality when dropping files into the editor.

Can I intercept this default behaviour in any way?

Regards
Ronny
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: drag and drop

Post by Sasha - Tracker Dev Team »

Hello Ronny,

Check out this sample:
https://gist.github.com/Polaringu/499c1 ... bacca0c97b

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply