<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Mar 2016 22:34:00 Z</lastBuildDate><pubDate>24 Mar 2016 17:29:00 Z</pubDate><description>Hi,&#13;
&#13;
I have two MDI child programs. On each program I can drop a file (or multiple files) from windows explorer. But If i do this and both programs are open then both events voor handling the dropped files are executed. How to prevent this. Only the event in the program where the files are dropped should be executed.&#13;
&#13;
In the global declaration of the programs 1 I use:&#13;
&#13;
ExplorerAccept(True)&#13;
Event(GetFiles,"*.",563)&#13;
&#13;
In the global declaration of the programs 2 I use:&#13;
ExplorerAccept(True)&#13;
Event(DoSomething,"*.",563)&#13;
&#13;
&#13;
When program 1 en 2 are open and program 2 have focus, dropping files also execute Event Getfiles in program 1.&#13;
&#13;
Regards,&#13;
Herro</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs/read.awp</link><title>[WD20] Drag and Drop multiple MDI child programs</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57025/read.awp</comments><pubDate>24 Mar 2016 22:34:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
Setting a flag (boolean) in the get focus/loose focus an check on this flag works fine.&#13;
&#13;
Thanks.&#13;
&#13;
Best regard…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57025/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57025/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs/read.awp">[WD20] Drag and Drop multiple MDI child programs</source><title>Re: [WD20] Drag and Drop multiple MDI child programs</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57020/read.awp</comments><pubDate>24 Mar 2016 18:34:00 Z</pubDate><description>Hi Herro,&#13;
&#13;
you can probably:&#13;
- test if you have the focus or not and therefore accept the file or not (a flag in the get focu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57020/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs-57020/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57018-wd20-drag-and-drop-multiple-mdi-child-programs/read.awp">[WD20] Drag and Drop multiple MDI child programs</source><title>Re: [WD20] Drag and Drop multiple MDI child programs</title></item></channel></rss>
