输入掩码属性和Mac,Mc和带连字符的名称 [英] Input mask property and Mac, Mc and hyphenated names

查看:106
本文介绍了输入掩码属性和Mac,Mc和带连字符的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人名的最简单的输入掩码是......

The simplest input mask for peoples names is....

L< ??????????????
L<??????????????



但是当你有像麦当劳或玛丽安妮这样的名字时呢?


任何人都会想出一个好的全面的东西。 "白痴"仍然适用的面具

大写字母和小写字母 - 如果是Mac和连字符?



But what about when you have names like MacDonald, or Mary-Anne?

Anyone come up with a good "all round" "idiots" mask that still applies
capitals and lower case when required - even for Mac and hyphens?

推荐答案

星期一,21 2005年2月05:17:20 GMT,MS< Em *** @ Myemail.com>写道:
On Mon, 21 Feb 2005 05:17:20 GMT, MS <Em***@Myemail.com> wrote:
人们姓名最简单的输入掩码是....
The simplest input mask for peoples names is....
L< ?????????? ????
L<??????????????



但是,当你有像麦当劳或玛丽安妮这样的名字时呢?

任何人都会想出一个好的全面的名字。 "白痴"在需要时仍然适用大写和小写的面具 - 即使是Mac和连字符?



But what about when you have names like MacDonald, or Mary-Anne?

Anyone come up with a good "all round" "idiots" mask that still applies
capitals and lower case when required - even for Mac and hyphens?




没有这样的事情。名称太多了,不需要简单的面具来正确地使用
。在这个新闻组中搜索大约一个月姓氏的帖子

前。

Darryl Kerkeslager



No such thing. Names are too varied for a simple mask to capitalize
correctly. Search this newsgroup for a thread on surnames about a month
ago.
Darryl Kerkeslager




" Darryl Kerkeslager" <柯********* @ comcast.net>在消息中写道

news:op ************** @ tigger.cnorth01.va.comcast.n et ...

"Darryl Kerkeslager" <ke*********@comcast.net> wrote in message
news:op**************@tigger.cnorth01.va.comcast.n et...
2005年2月21日星期一05:17:20 GMT,MS< Em *** @ Myemail.com>写道:
On Mon, 21 Feb 2005 05:17:20 GMT, MS <Em***@Myemail.com> wrote:
人们姓名最简单的输入掩码是....
The simplest input mask for peoples names is....
L< ?????????? ????
L<??????????????



但是,当你有像麦当劳或玛丽安妮这样的名字时呢?

任何人都会想出一个好的全面的名字。 "白痴"在需要时仍然适用大写字母和小写字母的面具 - 即使是Mac和连字符?



But what about when you have names like MacDonald, or Mary-Anne?

Anyone come up with a good "all round" "idiots" mask that still applies
capitals and lower case when required - even for Mac and hyphens?



没有这样的东西。名称太多,无法通过简单的面具正确地使用。在这个新闻组中搜索大约一个月前姓氏的帖子。

Darryl Kerkeslager



No such thing. Names are too varied for a simple mask to capitalize
correctly. Search this newsgroup for a thread on surnames about a month
ago.
Darryl Kerkeslager




编码是否可行例如,使用OnChange事件

,其中掩码在 - 时更改。按键是什么?或者如果Mac,键入

in,掩码改变以迫使下一个角色成为首都?


或者这会变得太乱并且要求麻烦?



Would it be feasible to code something for example with the OnChange event
where the mask is changed when the "-" key is pressed? Or if "Mac" is keyed
in, the mask changes to force the next character to be a capital?

Or would this get too messy and be asking for trouble?


2005年2月21日星期一21:50:19 GMT,MS< Em *** @ Myemail.com>写道:
On Mon, 21 Feb 2005 21:50:19 GMT, MS <Em***@Myemail.com> wrote:

Darryl Kerkeslager <柯********* @ comcast.net>在消息中写道
新闻:op ************** @ tigger.cnorth01.va.comcast.n et ...

"Darryl Kerkeslager" <ke*********@comcast.net> wrote in message
news:op**************@tigger.cnorth01.va.comcast.n et...
On Mon,21 2005年2月05:17:20 GMT,MS< Em *** @ Myemail.com>写道:
On Mon, 21 Feb 2005 05:17:20 GMT, MS <Em***@Myemail.com> wrote:
人们姓名最简单的输入掩码是....

L< ??????????????

但是当你有像麦当劳或玛丽安妮这样的名字时呢?

任何人都会想出一个好的全面的名字。 "白痴"在需要时仍然适用大写字母和小写字母的面具 - 即使是Mac和连字符?
The simplest input mask for peoples names is....

L<??????????????

But what about when you have names like MacDonald, or Mary-Anne?

Anyone come up with a good "all round" "idiots" mask that still applies
capitals and lower case when required - even for Mac and hyphens?



没有这样的东西。名称太多,无法通过简单的面具正确地使用。在这个新闻组中搜索大约一个月前姓氏的帖子。

Darryl Kerkeslager



No such thing. Names are too varied for a simple mask to capitalize
correctly. Search this newsgroup for a thread on surnames about a month
ago.
Darryl Kerkeslager



用例如OnChange
事件
当 - 时掩码被改变。按键是什么?或者如果Mac,是否已锁定,面具会变为强制下一个角色成为首都?

或者这会变得太乱并且要求麻烦?



Would it be feasible to code something for example with the OnChange
event
where the mask is changed when the "-" key is pressed? Or if "Mac" is
keyed
in, the mask changes to force the next character to be a capital?

Or would this get too messy and be asking for trouble?




我想如果你阅读我引用的讨论,你会看到

名称的例子对于面具来说太复杂了 - O''Conners, van Siphouts,Van

Nostrands,McDonalds,MacTavishes,D'​​'Altons等*如果*我本来要尝试

,我会严格执行此操作代码。

Darryl Kerkeslager



I think if you read the discussion I referenced, you''ll see exapmples of
names far too complex for a mask - the O''Conners, van Siphouts, Van
Nostrands, McDonalds, MacTavishes, D''Altons, etc. *If* I were to attempt
this at all, I would do it strictly in code.
Darryl Kerkeslager


这篇关于输入掩码属性和Mac,Mc和带连字符的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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