Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.OLEDropMode Property

Defines OLE drop support.

Syntax

Get

VB.NETMode = object.OLEDropMode As SftControlOLEDropModeConstants
VBMode = object.OLEDropMode As SftControlOLEDropModeConstants
C#.NETSftControlOLEDropModeConstants Mode = object.OLEDropMode;
VC++enum SftControlOLEDropModeConstants Mode = object->OLEDropMode;
enum SftControlOLEDropModeConstants Mode = object->GetOLEDropMode();
CHRESULT object->get_OLEDropMode(enum SftControlOLEDropModeConstants* Mode);

Put

VB.NETobject.OLEDropMode = Mode As SftControlOLEDropModeConstants
VBobject.OLEDropMode = Mode As SftControlOLEDropModeConstants
C#.NETSftControlOLEDropModeConstants object.OLEDropMode = Mode;
VC++enum SftControlOLEDropModeConstants object->OLEDropMode = Mode;
void object->PutOLEDropMode(enum SftControlOLEDropModeConstants Mode);
CHRESULT object->put_OLEDropMode(enum SftControlOLEDropModeConstants Mode);

object

A SftPrintPreview object.

Mode

Defines whether the control can act as an OLE drop target.table row cellh Mode cellh Value cellh Description row cell OLEDropSftControlNone cell 0 cell The control is not a valid drop target. row cell OLEDropSftControlManual cell 1 cell 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 OLE drop support.

If the control is a valid drop target (OLEDropSftControlManual), the events OLEDragOver and OLEDragDrop occur when an item is dragged over the control or when an item is dropped.

See Also SftPrintPreview Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.