首页 > 解决方案 > 文本框的 MaskFull 替代方案?

问题描述

对于 Microsoft Visual Studio,我可以为文本框的 MaskFull 使用什么替代方法?

If txtVehicleNumber.MaskFull = False Then
    MsgBox("Enter your Vehicle Number in the Vehicle text box", "Error")
    txtVehicleNumber.Clear()
    txtVehicleNumber.Focus()
    InputError = True

' Example code:
If txtStudentID.MaskFull = False Then
   MsgBox("Enter your Student ID in the Student ID box", , "Error")
   txtStudentID.Clear()
   txtStudentID.Focus()
   InputError = True

标签: vb.net

解决方案


您可以使用此工具:

MaskedTextBox 和属性;密码字符 =


推荐阅读