By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,136 Members | 1,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,136 IT Pros & Developers. It's quick & easy.

INPUT MASK FOR TEXTBOX

P: n/a
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?
Nov 16 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
<input type="password">

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Personal favourites

WebGrid - www.webgrid.co.uk
Freeware Arena - www.freewarearena.com
Freeware Home - www.freewarehome.com
Freeware Outpost -
http://free.hostdepartment.com/f/fre...st/index2.html
ZeroPlus2 - http://zp2.it-mate.co.uk
Fort Freeware - http://freeware.quantum.2ya.com/
Pricelessware - http://www.pricelessware.org
El-Mambo - http://www.el-mambo.net/
Practically Nerded - http://mvps.org/PracticallyNerded/
Bugs, Glitches n stuff - http://mvps.org/inetexplorer/Darnit.htm
Calendar of Updates - http://www.dozleng.com/updates/index.php?&act=calendar
Seniority - http://www.seniority.co.uk
Remembering Dunblane - http://www.dunblane.braveheart.com/
Echo Echo - http://www.echoecho.com/
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #2

P: n/a
Woops..... just realised this isn't one of the ASP one's

You can set the mask in your code btw (or the VB IDE properties dialog)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Personal favourites

WebGrid - www.webgrid.co.uk
Freeware Arena - www.freewarearena.com
Freeware Home - www.freewarehome.com
Freeware Outpost -
http://free.hostdepartment.com/f/fre...st/index2.html
ZeroPlus2 - http://zp2.it-mate.co.uk
Fort Freeware - http://freeware.quantum.2ya.com/
Pricelessware - http://www.pricelessware.org
El-Mambo - http://www.el-mambo.net/
Practically Nerded - http://mvps.org/PracticallyNerded/
Bugs, Glitches n stuff - http://mvps.org/inetexplorer/Darnit.htm
Calendar of Updates - http://www.dozleng.com/updates/index.php?&act=calendar
Seniority - http://www.seniority.co.uk
Remembering Dunblane - http://www.dunblane.braveheart.com/
Echo Echo - http://www.echoecho.com/
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #3

P: n/a
> How can I set input mask for TextBox?
Or can I use for mask input some other control?


The TextBox doesn't support a mask property (except, if you want to
think of the PasswordChar property as a "mask"). There is a control
named MaskedEditBox, but it is generally considered to be a "weak"
control to use. What type of input mask are you interested in (perhaps
we can devise some code to implement it)?

Rick - MVP

Nov 16 '05 #4

P: n/a
Hi,

There is no good control in Visual Studio 6, which would provide masked
functionality. MaskedEditBox is not very good. I would suggest to use some
third-party, controls, which have built-in functionality to input only
numeric, date or some other information. FarPoint controls do pretty good
job in this area

www.fpoint.com

--
Val Mazur
Microsoft MVP
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #5

P: n/a

"Val Mazur" <gr******@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP09.phx.gbl...
Hi,

There is no good control in Visual Studio 6, which would provide masked
functionality. MaskedEditBox is not very good. I would suggest to use some
third-party, controls, which have built-in functionality to input only
numeric, date or some other information. FarPoint controls do pretty good
job in this area

www.fpoint.com

--
Val Mazur
Microsoft MVP

Or, possibly, extend and enhance The .NET TextBox class yourself in a class
library?

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 16 '05 #6

P: n/a
TEXTMODE="password"
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #7

P: n/a
TEXTMODE="password"
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #8

P: n/a
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?


what platform? You've crossposted to a bunch of VB classic groups, a
C#-specific group and and general dotnet group...

--
Reply to the group so all can participate
VB.Net... just say "No"

Nov 16 '05 #9

P: n/a
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?


what platform? You've crossposted to a bunch of VB classic groups, a
C#-specific group and and general dotnet group...

--
Reply to the group so all can participate
VB.Net... just say "No"

Nov 16 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.