This event is executed when dropping content.
Event control.Drop( &<parameter> )
Event_code
Endevent
The <parameter> can only be a variable. This parameter will be loaded with the corresponding value of the Drag Event parameter.
Having an image in the WorkWithDevicesMeeting List layout, named RecicleBin, and the Drag event shown in the Drag event in Smart Devices example:
Event RecicleBin.Drop(&Meeting)
Composite
&MeetingId = &Meeting.MeetingId
DeleteMeeting(&MeetingId)
msg('Meeting deleted')
SdActions.Refresh()
EndComposite
EndEvent
Being DeleteMeeting a rest procedure that deletes the received meeting id. If there is a DropAccepted event, it will be executed first, and then the Drop event.
To complete the example, see Drop event in Smart Devices, DropAccepted event in Smart Devices and DragCanceled event in Smart Devices
As from GeneXus X Evolution 2 Upgrade 4.