info("droptext")
info("droptext")

The info(“droptext”) function returns text dragged onto a Drag Receiver form object (see Drag and Drop).

Description

This function returns text dragged onto a Drag Receiver form object (see Drag and Drop). It should only be used in a procedure triggered by that type of object. If no text was dropped on the object, this function returns an error.

This example imports the dropped text onto the end of the current database.

    window info("dropwindow")
    importtext info("droptext"),"existingdata","append"

Error Messages

No dropped text. – No text was dropped on the Drag Receiver object (perhaps some other type of data was dropped).

See Also

- dragtext -- starts drag-and-drop of text.
- dropfromfinder -- processes any files or folders that have been dropped on a form from the finder.
- dropimagesfromfinder -- processes images that have been dropped on a form from the Finder. The images may be added to new records in the database or put in the current record.
- info("dropdatabase") -- returns the name of the database that contains the form data was dropped on.
- info("dropfiles") -- returns a list of files dragged onto a *Drag Receiver* form object (see Drag and Drop).
- info("dropform") -- returns the name of the form data was dropped on.
- info("dropobject") -- returns the name of the object that data was dropped on.
- info("droptypes") -- returns a list of all the data types dragged onto a *Drag Receiver* form object (see Drag and Drop).
- info("dropvcard") -- returns the text of any VCards dragged onto a *Drag Receiver* form object (see Drag and Drop).
- info("dropwindow") -- returns the name of the window that contains the form data was dropped on.
- info("dropwindownumber") -- returns the number of the window that contains the form data was dropped on.

History

Version | Status | Notes
10.0 | New | New in this version.