SftMask/OCX 6.5

SftMask.ClipMode Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Mode = object.ClipMode  As SftMaskClipModeConstants

VB

Mode = object.ClipMode  As SftMaskClipModeConstants

C#.NET

SftMaskClipModeConstants Mode = object.ClipMode;

VC++

enum SftMaskClipModeConstants Mode = object->ClipMode;
enum SftMaskClipModeConstants Mode = object->GetClipMode();

C

HRESULT object->get_ClipMode(enum SftMaskClipModeConstants* Mode);

Delphi

Mode := object.ClipMode  : TOleEnum;

Put

VB.NET

object.ClipMode = Mode  As SftMaskClipModeConstants

VB

object.ClipMode = Mode  As SftMaskClipModeConstants

C#.NET

SftMaskClipModeConstants object.ClipMode = Mode;

VC++

enum SftMaskClipModeConstants object->ClipMode = Mode;
void object->PutClipMode(enum SftMaskClipModeConstants Mode);

C

HRESULT object->put_ClipMode(enum SftMaskClipModeConstants Mode);

Delphi

object.ClipMode := Mode  : TOleEnum;

object

A SftMask object.

Mode

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

Mode

Value

Description

clipSftMaskInclude

0

Literal characters are included.

clipSftMaskExclude

1

Literal 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.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com