Specify drag and drop
- Last Updated: October 14, 2024
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
To define an object so that a file can be dropped onto it, you must:
- Set the
DROP-TARGETattribute to TRUE for the object that you want to have accept the drop. - Code the
DROP-FILE-NOTIFYevent and end it with theEND-FILE-DROP()method. The dropped file does not automatically open in an ABL object. You must explicitly write the code that assigns the dropped file to the object if you want to display the contents in the object (for example, if the object is an editor object).
Here is an example:
|