Raised when some data is dragged over a table and the drag-and-drop mode is set to drProgrControl.
VB6
![]() |
---|
Public Event DragOverTable |
Parameter | Type | Description |
---|---|---|
table | [input] reference to a Table | The table under the mouse cursor. |
dataObj | [input] IDataObject interface pointer | A pointer to OLE drag-and-drop object. |
docX | [input] long | The x document coordinate. |
docY | [input] long | The y document coordinate. |
keyState | [input] long | A state of keyboard modifier keys. |
effect | [input, output] long | The effect of the drag-and-drop. |
Dispatch ID: 45
Raised when some data is dragged over a table and the drag-and-drop mode is set to drProgrControl. dataObj is a pointer to an object implementing the OLE IDataObject interface. This object may contain data in several different formats; it can be queried for data in the format that is most appropriate for your application. docX and docY are the coordinates of the mouse cursor given in document coordinates. The keyState bit-mask is a combination of the following values: 0x20 (ALT), 0x04 (SHIFT), 0x08 (CTRL). The effect parameter is a combination of the allowed drop effects, and as output you can set it to the desired effect. Its possible values are: 0=none, 1=copy, 2=move, 4=link.