AppWindow.OLEDrop Method | |
Called whenever the mouse is released within the window's client area during a drag and drop operation.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD OLEDrop(
oOleDragEvent
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual OLEDrop(
Usual oOleDragEvent = default
)
Request Example
View SourceParameters
- oOleDragEvent (Optional)
- Type: Usual
The specified OLEDragEvent object.
Return Value
Type:
UsualRemarks Examples
The following example is from the OLE Container application in ...\SAMPLES\OLE\CONT:
1METHOD OleDrop(oOleDragEvent) CLASS Container
2LOCAL oOle AS OleObject
3LOCAL p AS point
4LOCAL lRet := FALSE AS LOGIC
5oOle := DraggableOLEObject{SELF}
6oOle:AllowInPlace := TRUE
7oOle:AllowResize := TRUE
8oOle:AutoSizeOnCreate := TRUE
9IF (oOle:CreateFromOleDragEvent(oOleDragEvent))
10p := oOleDragEvent:Position
11SELF:SetupOLEObject(oOle, p)
12lRet := TRUE
13ENDIF
See Also