Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

IP1 Sample (VB.NET)

This sample illustrates IP address entry.

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.SizePercent = 33
    AxSftMask1.Caption.Text = "&IP:"
    AxSftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"
    AxSftMask1.Text = "127.0.0.1"
    AxSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown
    AxSftMask1.AutoAdvance = True
    AxSftMask1.AutoSize = True
    AxSftMask1.TabAdvance = True
    AxSftMask1.TabAdvanceLast = True
    AxSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome
    AxSftMask1.EntrySelectMouse = True
End Sub

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