Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD20] [Solved] Drag and Drop multiple MDI child programs (2 replies)

$
0
0
Hi,

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.

In the global declaration of the programs 1 I use:

ExplorerAccept(True)
Event(GetFiles,"*.",563)

In the global declaration of the programs 2 I use:
ExplorerAccept(True)
Event(DoSomething,"*.",563)


When program 1 en 2 are open and program 2 have focus, dropping files also execute Event Getfiles in program 1.

Regards,
Herro

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>