info("dropwindownumber")
info("dropwindownumber")

The info(“dropwindownumber”) function returns the number of the window that contains the form data was dropped on.

Description

This function returns the number of the window that contains the form data was dropped on. Note: This window may not be 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. It starts by making sure the window that was dropped on is the active window.

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

Note: If you are not familiar with window numbers, see [Window ID Numbers] to learn about the unique id numbers associated with each Panorama window.

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("droptext") -- returns text dragged onto a *Drag Receiver* form object (see Drag and Drop).
- 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.
- Window ID Numbers -- ID numbers for identifying windows.

History

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