Accusoft ImagXpress 13
OLEDragOver Event
A variant value which represents the data.
An integer value which represents the format.
A long integer initially set by the source object identifying all effects it supports. This parameter must be correctly set by the target component during this event. The value of effect is determined by logically Or'ing together all active effects (as listed in Settings). The target component should check these effects and other parameters to determine which actions are appropriate for it, and then set this parameter to one of the allowable effects (as specified by the source) to specify which actions will be performed if the user drops the selection on the component.
An integer which acts as a bit field corresponding to the state of the SHIFT, CTRL, and ALT keys when they are depressed. The SHIFT key is bit 0, the CTRL key is bit 1, and the ALT key is bit 2. These bits correspond to the values 1, 2, and 4, respectively. The shift parameter indicates the state of these keys; some, all, or none of the bits can be set, indicating that some, all, or none of the keys are depressed. For example, if both the CTRL and ALT keys are depressed, the value of shift would be 6.
A number that specifies the current horizontal (x) position of the mouse pointer within the target form or control. The x and y values are always expressed in terms of the coordinate system set by the properties of the object.
A number that specifies the current horizontal (x) position of the mouse pointer within the target form or control.
An integer that corresponds to the transition state of the control being dragged in relation to a target form or control.
Description
Raised when one component is dragged over another.
Syntax
Visual Basic
Public Event OLEDragOver( _
   ByVal Data As Variant, _
   ByVal Format As Integer, _
   ByVal Effect As Long, _
   ByVal Shift As Long, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal State As Long _
)
Parameters
Data
A variant value which represents the data.
Format
An integer value which represents the format.
Effect
A long integer initially set by the source object identifying all effects it supports. This parameter must be correctly set by the target component during this event. The value of effect is determined by logically Or'ing together all active effects (as listed in Settings). The target component should check these effects and other parameters to determine which actions are appropriate for it, and then set this parameter to one of the allowable effects (as specified by the source) to specify which actions will be performed if the user drops the selection on the component.
Shift
An integer which acts as a bit field corresponding to the state of the SHIFT, CTRL, and ALT keys when they are depressed. The SHIFT key is bit 0, the CTRL key is bit 1, and the ALT key is bit 2. These bits correspond to the values 1, 2, and 4, respectively. The shift parameter indicates the state of these keys; some, all, or none of the bits can be set, indicating that some, all, or none of the keys are depressed. For example, if both the CTRL and ALT keys are depressed, the value of shift would be 6.
x
A number that specifies the current horizontal (x) position of the mouse pointer within the target form or control. The x and y values are always expressed in terms of the coordinate system set by the properties of the object.
y
A number that specifies the current horizontal (x) position of the mouse pointer within the target form or control.
State
An integer that corresponds to the transition state of the control being dragged in relation to a target form or control.
Remarks

The OLEDragOver and OLEDragDrop events only occur when the OLEDropMode property is set to OLEDROP_MANUAL (1).

Note: For security reasons, drag/drop is disallowed between windows with different security levels.

See Also

ImagXpress Object  | ImagXpress Members  | OLEDragDrop Event  | OLEDropMode Property  | Window and Control

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback