SftMask/OCX 6.5

SftMask.InputModeUpdate Event

Softel vdm, Inc.

The input insert/overtype mode is updated.

Syntax       

VB.NET

Private Sub object_InputModeUpdate(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.InputModeUpdate

VB

Private Sub object_InputModeUpdate(ByVal InsertMode As Boolean)

C#.NET

void object_InputModeUpdate(object sender, EventArgumentType e);

VC++

void OnInputModeUpdateobject(VARIANT_BOOL InsertMode);

C

HRESULT OnInputModeUpdateobject(VARIANT_BOOL InsertMode);

Delphi

procedure objectInputModeUpdate(Sender: TObject; InsertMode : WordBool);

object

A SftMask object.

InsertMode

Defines the current insert/overtype mode.

InsertMode

Description

True

The control is in insert mode.

False

The control is in overtype mode.

Comments

The InputModeUpdate event occurs when the input insert/overtype mode is updated.

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

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