Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

InputMode1 Sample (VB.NET)

This sample illustrates insert/overtype mode and the InputModeUpdate event.

This is not an executable sample, so a complete project is not provided. These statements are intended to show basic concepts and the syntax used.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    AxSftMask1.Caption.Text = "Insert->"
    AxSftMask1.InputMode = SftMaskInputModeConstants.inputSftMaskInsert
    AxSftMask2.Caption.Text = "Overtype->"
    AxSftMask2.InputMode = SftMaskInputModeConstants.inputSftMaskOvertype
End Sub

Private Sub AxSftMask1_InputModeUpdate(ByVal sender As Object, ByVal e As AxSftMaskLib70._ISftMaskEvents_InputModeUpdateEvent) Handles AxSftMask1.InputModeUpdate
    Label1.Text = e.insertMode
End Sub

Private Sub AxSftMask2_InputModeUpdate(ByVal sender As Object, ByVal e As AxSftMaskLib70._ISftMaskEvents_InputModeUpdateEvent) Handles AxSftMask2.InputModeUpdate
    Label1.Text = e.insertMode
End Sub

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