SftMask/OCX 6.5

SftMask.Insert Property

Softel vdm, Inc.

Defines the current insert/overtype mode.

Syntax       

Get

VB.NET

Boolean = object.Insert  As Boolean

VB

Boolean = object.Insert  As Boolean

C#.NET

bool Boolean = object.Insert;

VC++

VARIANT_BOOL Boolean = object->Insert;
VARIANT_BOOL Boolean = object->GetInsert();

C

HRESULT object->get_Insert(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Insert   : WordBool;

Put

VB.NET

object.Insert = Boolean  As Boolean

VB

object.Insert = Boolean  As Boolean

C#.NET

bool object.Insert = Boolean;

VC++

VARIANT_BOOL object->Insert = Boolean;
void object->PutInsert(VARIANT_BOOL Boolean);

C

HRESULT object->put_Insert(VARIANT_BOOL Boolean);

Delphi

object.Insert := Boolean   : WordBool;

object

A SftMask object.

Boolean

Defines the current insert/overtype mode.

Boolean

Description

True

The control is in insert mode.

False

The control is in overtype mode.

Comments

The Insert property defines the current insert/overtype mode.

Overtype mode is visually indicated by the selection which is automatically extended to include one character position (if possible).

The user switches between insert and overtype mode using the Insert key. The application can switch between modes using the Insert property.

The InputMode property is used to define the control's insert/overtype mode behavior.

To allow an application to display the current insert/overtype mode, e.g., in a status bar, the InputModeUpdate event is used to notify the application of any mode change that may occur, through user interaction, input focus change or application driven changes. By responding to the InputModeUpdate event, an application is guaranteed to be notified of the current input mode.


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