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






Windows & Linux

Description

Specifies how to handle OLE drop operations.

Members

MemberValueDescription
eNone0None. The control does not accept OLE drops and displays the No Drop cursor.
eManual1Manual. The control triggers the OLE drop events, allowing the programmer to handle the OLE drop operation in code.
eAutomatic2Automatic. 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
© 2018 Analytical Graphics, Inc. All Rights Reserved.