SHDocVw.TWebBrowser.OnDragDrop

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDragDrop: TDragDropEvent read FOnDragDrop write FOnDragDrop;

C++

__property OnDragDrop;

Properties

Type Visibility Source Unit Parent
event published
SHDocVw.pas
SHDocVw.hpp
SHDocVw TWebBrowser

Description

Occurs when the user drops an object being dragged.

SHDocVw.TWebBrowser.OnDragDrop inherits from Vcl.Controls.TControl.OnDragDrop. All content below this line refers to Vcl.Controls.TControl.OnDragDrop.

Occurs when the user drops an object being dragged.

Use the OnDragDrop event handler to specify what happens when the user drops an object. The Source parameter of the OnDragDrop event is the object being dropped, and the Sender is the control on which the object is being dropped. The X and Y parameters are the coordinates of the mouse positioned over the control.

OnDragDrop is an event handler of type TDragDropEvent.

See Also

Code Examples