Faced such a problem: you need to write a program in which you need to drag the text file to view into the window Memo1, designed to view it, and to select a file you need to use the components DirectoryListBox and FileListBox.
When moving to the field Memo1 should pop up a message that the file has been successfully moved, or vice versa that the file can not be moved.
Actually, two questions.
- By what criteria it is possible to designate successful file transfer / impossibility to transfer it to the field?
- How to implement the message "File moved / " File cannot be moved " after trying to add a file to the field?