Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

PromptChar1 Sample (C#)

This sample illustrates pin code 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 void Form1_Load(object sender, System.EventArgs e)
{
    axSftMask1.Caption.Text = "Pin &Code:";
    axSftMask1.Mask = "<p####>";
    axSftMask1.PromptChar = "0";
    axSftMask1.PromptUnderline = false;
    axSftMask1.PromptUnderlineNoFocus = true;
    axSftMask1.PswdChar = "*";
}

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