STK X Send comments on this topic.
AgEOLEDropMode Enumeration
See Also  Example





Description

Specifies how to handle OLE drop operations.

Members

Member Value Description
eNone 0 None. The control does not accept OLE drops and displays the No Drop cursor.
eManual 1 Manual. The control triggers the OLE drop events, allowing the programmer to handle the OLE drop operation in code.
eAutomatic 2 Automatic. The control automatically accepts OLE drops if the DataObject object contains data in a format it recognizes. No OLE drag/drop events on the target will occur when OLEDropMode is set to eAutomatic.

Example

[Visual Basic .NET] Copy Code
Me.AxAgUiAx2DCntrl1.OLEDropMode = AGI.STKX.AgEOLEDropMode.eManual
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1