Answer the question
In order to leave comments, you need to log in
How can I drag and drop a file onto a Label?
Task: There is an inscription, for example, a Label on which a plus sign is drawn, and you can drag a file onto this plus sign, and so that when the mouse button is released, I receive information from where this file was beaten.
Answer the question
In order to leave comments, you need to log in
At the label, set something like drugcobtainer
Files, as I understood from the explorer
After you subscribe to the drop event
In the handler, you will have a structure
For the file, this is the name and path
Next, write the logic for obtaining attributes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question