OnOLEDragOver event (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TOLEDragOverEvent OnOLEDragOver (TmouseButton Button, TShiftState Shift, int X, int Y);

Delphi Syntax

OnOLEDragOver (Button: TMouseButton; Shift: TShiftState; X, Y: Integer): TOLEDragOverEvent;

Overview

Refer to Drag and Drop

Remarks

Occurs while dragging an image over the Main control. It also provides the Main control with feedback pertaining to the cursor position and the buttons used in the drag and drop process.

Please note that only the Left mouse button is used in the drag and drop process.

See Also

Elements:

EnableOLEDragMethod property, OLEDragCursor property, OnOLEStartDrag event, OnOLECompleteDrag event, OnOLEGiveFeedback event

Topics:

Raster Images: Displaying Images