OnOLEDragOver event (ImageList 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 ImageList control. It also provides the ImageList control with feedback pertaining to the cursor position and the button 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, AllowSelection property

Topics:

Raster Images: Displaying Images