Entering content frame

Syntax documentationget Locate the document in its SAP Library structure

Returns the complete description of a flavor.

CALL METHOD dragdrop->get

     EXPORTING  flavor         = flavor
     IMPORTING  isdragsrc      = isdragsrc
                isdroptarget   = isdroptarget
                effect         = effect
                effect_in_ctrl = effect_in_ctrl
     EXCEPTIONS not_found   = 1
                obj_invalid = 2.

Parameters

Description

flavor

Name of the flavor

dragsrc

' X ': The description is a drag source

droptarget

' X ': The description is a drop target

effect

Drop effect of the description between different custom controls. The following effects are supported:

dragdrop->copy : Appearance of the mouse when using drag and drop to copy.

dragdrop->move : Appearance of the mouse when using drag and drop to move.

dragdrop->none : Drag and drop is not possible.

effect_in_ctrl

Drop effect of the description in the same custom control. The following effects are supported:

dragdrop->copy : Appearance of the mouse when using drag and drop to copy.

dragdrop->move : Appearance of the mouse when using drag and drop to move.

dragdrop->none : Drag and drop is not possible.

dragdrop->use_default_effect : Uses the same effect specified in the effect parameter.

Exceptions

Description

already_defined

The specified flavor has already been defined.

Note

If you use the copy and move effects when you define the flavor, the system uses the move effect when the user drags an object normally, and the copy effect when the user presses and holds the CTRL key while dragging.

Leaving content frame