Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

ClipMode Property, SftMask Object

Defines the handling of literal data during drag & drop and clipboard operations.

Syntax

Get

VB.NETMode = object.ClipMode As SftMaskClipModeConstants
VBMode = object.ClipMode As SftMaskClipModeConstants
C#.NETSftMaskClipModeConstants Mode = object.ClipMode;
VC++enum SftMaskClipModeConstants Mode = object->ClipMode;
enum SftMaskClipModeConstants Mode = object->GetClipMode();
CHRESULT object->get_ClipMode(enum SftMaskClipModeConstants* Mode);

Put

VB.NETobject.ClipMode = Mode As SftMaskClipModeConstants
VBobject.ClipMode = Mode As SftMaskClipModeConstants
C#.NETSftMaskClipModeConstants object.ClipMode = Mode;
VC++enum SftMaskClipModeConstants object->ClipMode = Mode;
void object->PutClipMode(enum SftMaskClipModeConstants Mode);
CHRESULT object->put_ClipMode(enum SftMaskClipModeConstants Mode);

object

A SftMask object.

Mode

Defines the handling of literal data during drag & drop and clipboard operations.

ModeValueDescription
clipSftMaskInclude0Literal characters are included.
clipSftMaskExclude1Literal characters are not included.

Comments

The ClipMode property defines the handling of literal data during drag & drop and clipboard operations.

The behavior of the SelText, Text, TextDisplay and Contents.Value properties are controlled by the ClipMode property.

The ClipMode property has no effect if the control is used as a simple edit control (without Mask).

When using OLEDragMode = OLEDragSftMaskAutomatic, the data automatically added to the DataObject always includes literal characters. The ClipMode setting is ignored.

See Also SftMask Object | Object Hierarchy


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