在用户控件中选择月份作为日期 [英] Select month in user control for date

查看:64
本文介绍了在用户控件中选择月份作为日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何在用户控件中选择日期,月份和年份作为日期吗?

我选择日期,但是当我想选择月份光标位置在第一个点(第二天之后)和月份之间时...我不知道如何在第一个点之后移动光标?

Does anyone know how to select date, month and year in my user control for date?

I select day, but when I want to select month cursor position is between first dot(after day) and month... I don''t know how to move cursor after the first dot?

推荐答案

在我的用户控件中的日期
确切地!这是您的用户控件.在您共享与之相关的一些代码之前,我们怎么会知道它?

我不知道如何在第一个点后移动光标?
听起来很明显,但是根据您的询问方式,输入日期部分后是否尝试过箭头键?

您不使用日历选择器控件吗?如果没有,请尝试一下,它已经内置了所需的功能.
in my user control for date
Exactly! It''s your user control. How come we will know about it until you share some piece of code related to it?

I don''t know how to move cursor after first dot?
Sounds obvious but based on the way you have asked, did you tried arrow keys after entering the date part?

Aren''t you using a Calendar picker control? If not, try it, the needed functionality is already built in it.


这篇关于在用户控件中选择月份作为日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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