日期字段的日历选项 [英] Calendar Option for Date field

查看:79
本文介绍了日期字段的日历选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我想在日期字段旁边的表单上添加一个日历选项,这样用户只需从日历中选择日期而不是输入日期,有人可以吗帮助?


谢谢!

bluemoon

hello everyone!
I would like to add a calenda option onto the form next to the Date field, so that user can just select the date from the calendar instead of typing the date, can someone help?

thanks!
bluemoon

推荐答案

使用工具箱工具栏时(表单设计) )最后有一个选项称为更多控件。在那里你应该找到一个名为Calendar Control n.n的标准版。
When using the Toolbox toolbar (Form design) there is an option at the end called "More Controls". In there you should find a standard one called "Calendar Control n.n".


谢谢!但后来我想隐藏日历,直到用户点击日期字段旁边的一个小按钮。我想在日期字段旁边添加一个命令按钮,当用户点击命令按钮时,日历作为对话框形式打开。这样做有用吗?还有其他更好的方法,因为我有大约10个日期字段,我必须制作10个弹出对话框表格。


谢谢!

bluemoon
thanks! but then I would like to hide the calenda until user click on a little button next to the Date field. I was thinking of add a command button next to the Date field, when user click on the command button, calenda open as a dialog form. Does it work that way? is there any other better way, since I have about 10 date fields, I would have to make 10 pop up dialog forms.

thanks!
bluemoon




我做的是把日期字段旁边的日历设置为Visible = No,然后在日期字段旁边放置一个命令按钮当用户点击命令按钮时,我将日历显示为true =但是当用户完成日期选择时,我不知道如何使日历visibile = false。


谢谢!


bluemoon
Hi,
What I did was I put the calenda next to the Date field and set Visible=No, then I put a command button next to the date field, when user click on the command button, I made the calenda visible=true, but then I don''t know how to make the calenda visibile=false when user is done with date selection.

thanks!

bluemoon


这篇关于日期字段的日历选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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