Skip to content

GiveFeedback Event

Description

Called during drag operations, this event provides visual feedback during drag-and-drop operations.

Syntax

Public Event GiveFeedback( _
    ByVal Effect As Long, _
    ByVal DragStarted As Boolean, _
    ByRef Cancel As Boolean _
)

Parameters

  • Effect
    Effect of a drop operation:
  • DROPEFFECT_NONE: 0 - Drop target cannot accept the data.
  • DROPEFFECT_COPY: 1 - Drop results in a copy. The original data is untouched by the drag source.
  • DROPEFFECT_MOVE: 2 - Drag source should remove the data.
  • DROPEFFECT_LINK: 4 - Drag source should create a link to the original data.

  • DragStarted
    True if the drag operation has been started.

  • Cancel
    True to cancel the operation.

Remarks

This event enables a source application to give visual feedback to the end user during a drag-and-drop operation by providing the Drag Drop functions with an enumeration value specifying the visual effect.

See Also

GridControl Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.