Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GET-DROPPED-FILE( ) method
 

GET-DROPPED-FILE( ) method

(Windows only; Graphical interfaces only)
Returns the name of the dropped file indicated by the index parameter.
Return type: CHARACTER
Applies to: BROWSE widget, BUTTON widget, COMBO-BOX widget, DIALOG-BOX widget, EDITOR widget, FILL-IN widget, FRAME widget, RADIO-SET widget, SELECTION-LIST widget, SLIDER widget, TOGGLE-BOX widget, WINDOW widget

Syntax

GET-DROPPED-FILE ( index )
index
An integer expression that specifies the ordinal number of a dropped file. If index is less than 1 or greater than the number of dropped files (as indicated by NUM-DROPPED-FILES), GET-DROPPED-FILE( ) returns the Unknown value (?). If there is no current drag-and-drop operation, GET-DROPPED-FILE( ) returns the Unknown value (?).
The returned filename can contain Unicode characters. See OpenEdge Development: Internationalizing Applications for more information about Unicode.