The info(“dropobject”) function returns the name of the object that data was dropped on.
This function returns the name of the object that data was dropped on (see Drag and Drop). Note: This window isn’t necessarily the currently active window – the user can drag onto any window, not just the active one.
This example imports the dropped text onto the end of the current database. This code is designed to be used with two Drag Receiver objects – one named append, the other named replace. Depending on which one the data is dropped onto, the text will either be appended to the existing data, or will replace the existing data.
window info("dropwindow") importtext info("droptext"),"existingdata",info("dropobject")
|10.0||No Change||Carried over from Panorama 6.0|