INPUT MASK FOR TEXTBOX IN WINDOWS FORM

  • Thread starter Thread starter Val Mazur
  • Start date Start date
V

Val Mazur

Hi,

You should post into specific newsgroup, otherwise it is confusing if it is
related to VS6 or VS.NET development. Please post into right group and do
not cross post
 
Hello.
How can I set input mask for TextBox in Windows Form?
For example I want to mask (format) TextBox for inputing phone number like
(999) 999-99-99.
The TextBox must first show something like this: (___) ___-__-__

How can I do this?
 
How about just formatting the string.

Private Sub Command1_Click()
Text1.Text = Format(Text1, "(000)000-0000")
End Sub

Dunnie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

C# winform masked textbox 0
input mask 2
IP input mask for TextBox (.net Compact Framework) 0
Input Mask in Textbox? 1
Input mask 4
Masked textbox alignment? 2
Input mask for date! 0
Input Mask Help 1

Back
Top