OLEDrag Method (AForm)

Starts an OLE drag/drop event with the given control as the source.

Syntax

Object.OLEDrag()

The OLEDrag method syntax has the following parts:

 

Name

Type

Description

Object

AForm

AForm object

Comments

When the OLEDrag method is called, the component’s OLEStartDrag event occurs, allowing it to supply data to a target component.

Example

The following statement causes a component of the AForm to initiate an OLE drag/drop operation:

frm1.OLEDrag()

Applies to

AForm

See Also

OLEDropMode