viper5646 Active member Joined Jan 20, 2009 Messages 38 Location Canada Programming Experience Beginner Apr 30, 2009 #1 SIZE="3"]Hello! I have 3 text box to enter phone numbers. I would like in the text box to Display the following Format: (123)456_7890. Can anyone help me with this. Thank you.[[/SIZE]
SIZE="3"]Hello! I have 3 text box to enter phone numbers. I would like in the text box to Display the following Format: (123)456_7890. Can anyone help me with this. Thank you.[[/SIZE]
M MattP Well-known member Joined Feb 29, 2008 Messages 1,206 Location WY, USA Programming Experience 5-10 May 1, 2009 #2 Check out the Masked Textbox control. One of the presets is phone number. Upvote 0 Downvote
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ May 1, 2009 #3 MattP said: Check out the Masked Textbox control. One of the presets is phone number. Click to expand... The mask for him would be (modified phone number): "(000)000_0000" MaskedTextBox.Mask Property (System.Windows.Forms) Upvote 0 Downvote
MattP said: Check out the Masked Textbox control. One of the presets is phone number. Click to expand... The mask for him would be (modified phone number): "(000)000_0000" MaskedTextBox.Mask Property (System.Windows.Forms)
viper5646 Active member Joined Jan 20, 2009 Messages 38 Location Canada Programming Experience Beginner May 2, 2009 #4 thanks for your reply. I went to your link read and tried it but still having dificulties. Can some one give me an example on how to apply it. Upvote 0 Downvote
thanks for your reply. I went to your link read and tried it but still having dificulties. Can some one give me an example on how to apply it.
M MattP Well-known member Joined Feb 29, 2008 Messages 1,206 Location WY, USA Programming Experience 5-10 May 4, 2009 #5 Drag a MaskedTextBox onto your form. Click the ... in the Mask property. Select Custom. Type in (000)000_0000. Upvote 0 Downvote
Drag a MaskedTextBox onto your form. Click the ... in the Mask property. Select Custom. Type in (000)000_0000.
viper5646 Active member Joined Jan 20, 2009 Messages 38 Location Canada Programming Experience Beginner May 4, 2009 #6 thank you very much I got it working. Upvote 0 Downvote