Spread 8.0 Documentation
OLEGiveFeedback, ScriptOLEGiveFeedback Events
Support Options
ActiveX Reference > ActiveX Events > OLEGiveFeedback, ScriptOLEGiveFeedback Events

Glossary Item Box

OLEGiveFeedback, ScriptOLEGiveFeedback Events


See Also

Applies To

fpSpread and fpSpreadPreview controls

Description

Provides visual feedback through the pointer, by the source control for a drag-drop operation.

Syntax

Visual Basic

Sub fpSpread_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)

Sub fpSpreadPreview_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)

Note: The ScriptOLEGiveFeedback event uses the same syntax except event parameters that are not passed "ByVal" are declared as variants. For more information on Script events, see Scripting Environment Usage.

Parameter

The following parameters are available:

Parameter Description
Effect Identifies the action or actions to be performed
Can be any combination of the following values:
Value Description
0 fpOLEDropEffectNone
1 fpOLEDropEffectCopy
2 fpOLEDropEffectMove
-2147483648 fpOLEDropEffectScroll
DefaultCursors Specifies whether to use the default pointer or a customized pointer

Remarks

If the DefaultCursors parameter is set to False, use the MousePointer property of the Screen object to specify the customized pointer.

The Effect parameter is passed to this event from the OLEDragOver event (target control).

Note: This event will occur if you use the fpSpread or fpSpreadPreview control in a scripting environment (for example, Microsoft's Visual InterDev or Internet Explorer) or a non-scripting environment. However, if you want to use the fpSpread or fpSpreadPreview control in a scripting environment and you want to change any parameter that is not passed "ByVal", you must set the ScriptEnhanced property to True and use the ScriptOLEGiveFeedback event. ScriptOLEGiveFeedback event parameters that are not passed "ByVal" are declared as variants.

See Also

ScriptEnhanced property

OLECompleteDrag, OLEDragOver, OLESetData, OLEStartDrag events

OLEDrag method

Copyright © GrapeCity, inc. All rights reserved.