输入面板用于文本框 [英] INPUT MASK FOR TEXTBOX

查看:107
本文介绍了输入面板用于文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。

如何为TextBox设置输入掩码?

或者我可以使用掩码输入一些其他控件吗?

解决方案

< input type =" password">


-


问候


Steven Burn

Ur IT Mate Group
www.it-mate.co.uk


保持免费!


个人收藏


WebGrid - www.webgrid.co.uk

免费软件竞技场 - www.freewarearena.com

免费软件首页 - www.freewarehome.com

免费软件前哨 -
http://free.hostdepartment.com/f/fre...st/index2.html

ZeroPlus2 - http://zp2.it-mate.co。英国

免费软件 - http://免费软件.quantum.2ya.com /

无价软件 - http://www.pricelessware.org

El-Mambo - http://www.el-mambo.net/

实际上是Nerded - http://mvps.org/PracticallyNerded/

Bugs,Glitches n stuff - http:// mvps .org / inetexplorer / Darnit.htm

更新日历 - http://www.dozleng.com/updates/index.php?&act=calendar

资历 - http://www.seniority.co.uk

记住Dunblane - http://www.dunblane.brave heart.com/

Echo Echo - http:// www.echoecho.com/

" msnews.microsoft.com" <哒********* @ hotmail.com>在消息中写道

news:uC ************** @ tk2msftngp13.phx.gbl ...

你好。
如何设置TextBox的输入掩码?
或者我可以使用掩码输入一些其他控件吗?



Woops。 ....刚刚意识到这不是ASP的一个'

您可以在代码中设置掩码btw(或VB IDE属性对话框)


-


问候


Steven Burn

Ur IT Mate Group
www.it-mate.co.uk


保持免费!


个人收藏


WebGrid - www.webgrid.co.uk

免费软件竞技场 - www.freewarearena.com

免费软件首页 - www.freewarehome.com

免费软件前哨 -
http://free.hostdepartment.com/f/fre...st/index2.html

ZeroPlus2 - http://zp2.it-mate.co。英国

免费软件 - http://免费软件.quantum.2ya.com /

无价软件 - http://www.pricelessware.org

El-Mambo - http://www.el-mambo.net/

实际上是Nerded - http://mvps.org/PracticallyNerded/

Bugs,Glitches n stuff - http:// mvps .org / inetexplorer / Darnit.htm

更新日历 - http://www.dozleng.com/updates/index.php?&act=calendar

资历 - http://www.seniority.co.uk

记住Dunblane - http://www.dunblane.brave heart.com/

Echo Echo - http:// www.echoecho.com/

" msnews.microsoft.com" <哒********* @ hotmail.com>在消息中写道

news:uC ************** @ tk2msftngp13.phx.gbl ...

你好。
如何设置TextBox的输入掩码?
或者我可以使用掩码输入一些其他控件吗?



>如何为TextBox设置输入掩码?

或者我可以使用掩码输入一些其他控件吗?




TextBox没有支持掩码属性(除非你想将
想象为PasswordChar属性作为掩码)。有一个名为MaskedEditBox的控件

,但它通常被认为是一个弱的

控件。你对什么类型的输入掩码感兴趣(也许

我们可以设计一些代码来实现它)?


Rick - MVP


Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

解决方案

<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?



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?



> 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


这篇关于输入面板用于文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆