|
|
|
SftBox.OLEDropMode Property |
Defines whether the control can act as an OLE drop target.
Syntax
VB.NET |
Mode = object.OLEDropMode As SftBoxOLEDropModeConstants |
||
VB |
Mode = object.OLEDropMode As SftBoxOLEDropModeConstants |
||
C#.NET |
SftBoxOLEDropModeConstants Mode = object.OLEDropMode; |
||
VC++ |
enum SftBoxOLEDropModeConstants Mode = object->OLEDropMode;
|
||
C |
HRESULT object->get_OLEDropMode(enum SftBoxOLEDropModeConstants* Mode); |
||
Delphi |
Mode := object.OLEDropMode : TOleEnum; |
||
VB.NET |
object.OLEDropMode = Mode As SftBoxOLEDropModeConstants |
||
VB |
object.OLEDropMode = Mode As SftBoxOLEDropModeConstants |
||
C#.NET |
SftBoxOLEDropModeConstants object.OLEDropMode = Mode; |
||
VC++ |
enum SftBoxOLEDropModeConstants object->OLEDropMode = Mode;
|
||
C |
HRESULT object->put_OLEDropMode(enum SftBoxOLEDropModeConstants Mode); |
||
Delphi |
object.OLEDropMode := Mode : TOleEnum; |
object
A SftBox object.
Mode
Defines OLE drop support, determining whether the control can act as an OLE drop target.
Mode |
Value |
Description |
0 |
The control is not a valid drop target. |
|
1 |
The control is a valid drop target and triggers the OLE drop events, allowing the application to handle the OLE drop operation. |
Comments
The OLEDropMode property defines whether the control can act as an OLE drop target.
If the control is a valid drop target (OLEDropSftBoxManual), the events OLEDragOver and OLEDragDrop occur when an item is dragged over the control or when an item is dropped.