OnOLEGiveFeedback event (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TOLEGiveFeedbackEvent OnOLEGiveFeedback (bool &bUseDefaultCursor);

Delphi Syntax

OnOLEGiveFeedback (var bUseDefaultCursor: Boolean): TOLEGiveFeedbackEvent;

Overview

Refer to Drag and Drop

Remarks

Occurs while an image is being dragged over the Main control to determine the visual feedback for the drag-and-drop operation.

Note:

To use a custom cursor during the drag and drop process, set the OLEDragCursor property to the custom cursor and set the bUseDefaultCursor parameter to FALSE within the OnOLEGiveFeedback event.

See Also

Elements:

EnableOLEDragMethod property, OLEDragCursor property, OnOLEStartDrag event, OnOLECompleteDrag event, OnOLEDragOver event

Topics:

Raster Images: Displaying Images