Start of Content Area

Function documentationSET_FILEDROP_MODE  Locate the document in its SAP Library structure

Use

Use this method to set the mode used in drag and drop operations with files.

NoteYou can also set the mode in the CONSTRUCTOR method when you create an instance.

Windows

HTML

Java

ü

X

ü

Features

call method textedit->set_filedrop_mode

  exporting
    filedrop_mode = filedrop_mode

  exceptions
    error_cntl_call_method = 1
    invalid_parameter = 2.

Parameters

Description

Possible values

filedrop_mode

Parameter controlling drag and drop behavior

dropfile_event_off
Only a file that replaces the full existing text can be used (default value)

dropfile_event_single
Only one file can be used. The file is not included in the editor. The file drop event is triggered instead. You can specify the path of the dropped file using the method
GET_PATH_OF_DROPPED_FILES.

dropfile_event_multiple
You can use more than one file. The file is not included in the editor. The file drop event is triggered instead. You can specify a list of the paths of the dropped files using the method
GET_PATH_OF_DROPPED_FILES.