ItemListBox Events
Use
-
onDrop
Action which is executed when an entry in the ItemListBox is moved by drag and drop.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
DATA
STRING
Textual representation of data transported to the DropTarget. Along with mimeType, this property forms a link to resources.
DATA is the value of the DragSourceInfo.data property of the UI element dropped on the ItemListBox.
INDEX
I
Entry count
This information is the number of the entry next to which data is dropped with Drag&Drop.
MIME_TYPE
STRING
Type of resource.
OFFSET
I
Position where the data is dropped:
-
-1 means above the entry
-
+1 means below the entry
TAGS
STRING
This property corresponds to Flavours in the programming environment. The flavor describes the type of drag and drop description. In a drag and drop operation, you can only drop an object onto another if both have at least one common description.
-
-
onLeadSelect
Action performed when the entry in the ItemListBox is changed and multipleSelection=false.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
INDEX
I
Index of the element in the ItemListBox. This event parameter is counted from 1.