使用MaskEdit控件作为DateTime控件 [英] Use a MaskEdit Control as DateTime Control

查看:132
本文介绍了使用MaskEdit控件作为DateTime控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我想接受dd/mm/yyyy格式的用户日期,例如.NET中的datetimepicker控件.

如果maskEdit控件可以做到这一点,请告诉我怎么做?
如果有其他有效的方法可用,请提出建议.

请帮忙.

Hello,
I Want to Accept date from user in dd/mm/yyyy format like datetimepicker control in .NET.

If maskEdit Control can do that please tell me how?
if any other efficient way is available please suggest.

Please help.

推荐答案

查看这些CP文章

VB.NET Maskedbox控件-最终版本 [屏蔽的C#文本框控件 [带有验证功能和MaskEdit的TextBox [
Look at these CP articles

VB.NET Maskedbox Control - Final Release[^]

Masked C# TextBox Control[^]

TextBox whith Validation Functions and MaskEdit[^]


错误的想法. DateTimePicker更好:-)

—SA
Bad idea. DateTimePicker is better :-)

—SA


将蒙版编辑内容放在窗体及其mask属性中,并设置其mask属性.
Put the mask edit on the form and in its mask property and set its mask property.


这篇关于使用MaskEdit控件作为DateTime控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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