ComponentOne VSFlexGrid 8.0
OLEGiveFeedback Event

Fired after every OLEDragOver event to allow the source component to provide visual feedback to the user.

Syntax

Private Sub VSFlexGrid_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)

Remarks

The parameters for the OLEGiveFeedback event are described below:

Effect As Long

A long integer set by the target component in the OLEDragOver event specifying the action to be performed if the user drops the selection on it. This allows the source to take the appropriate action (such as giving visual feedback). The possible values are:

 

Constant

Value

Description

vbDropEffectNone

0

Drop operation was cancelled.

vbDropEffectCopy

1

Drop results in a copy from the source to the target. The original data remains.

vbDropEffectMove

2

Drop moves the data from the source to the target. The original data should be deleted.

 

DefaultCursors As Boolean

A boolean value which determines whether Visual Basic uses the default or a user-defined mouse cursor. If you set this parameter to False, the mouse cursor must be set with the MousePointer property of the Screen object.

For an example of implementing OLE drag and drop with the VSFlexGrid control, see the OLE Drag and Drop Demo.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback