Drop event in Web

Official Content
This documentation is valid for:

Code that is run when dropping content from another control.

Syntax

Event <control>.Drop(&parameter1, &parameter2, ..., &parametern)

Event_code

Endevent

Where:

control

The name of the form control over the drop operation is performed.

&parameteri

Can only be variable. Each parameter will be loaded with the corresponding value from the Drag operation (from a grid with AllowDrag property or another control with Drag event in Web coded). If you are intending to drop information from a grid whose AllowDrag property is set (without having coded its Drag event), then the drop parameters (&parameter1, &parameter2, ..., &parametern) have to match exactly (in name and datatype) with n columns of the source grid. The columns order is not relevant. If any parameter is a SDT, the match is only by datatype, not by name.

Event_code

Code associated with the event. The parameters will be used in order to take some action based on that data received from Drag operation

Note: There is no difference between the navigation of any user event and the navigation of the Drop Event/Drag Event. The rules that apply to the former also apply to the latter.

Scope

Controls Image control, Text Block control, Table control, Free Style Grid control, Grid control, Web Component control, Button control
Interfaces Web
   

Examples

Drag and Drop in Applications Sample 1
Drag and Drop in Applications Sample 2
Drag and Drop in Applications Sample 3
Drag and Drop in Applications Sample 4

See also

Drag event in Web
Drag and Drop in Web Applications