关于日期控件的问题?
本来是想用DTPicker,可是此控件做不到初始值为空,所以就弃用了,然后上网查了下,有人说提议用Combo和MonthView一起来实现,可是MonthView初始是一大块显示的,如何才能做到刚开始MonthView是隐藏,然后点击Combo的下拉框,跳出MonthView,在点击MonthView上的日期后,Combo中的值显示成该日期值,有点麻烦,请教了!
[解决办法]
Private Sub Combo1_Click()MonthView1.Visible = TrueCombo1.AddItem MonthView1.ValueCombo1.Text = MonthView1.ValueEnd SubPrivate Sub Form_Load()Combo1.Text = ""Combo1.AddItem MonthView1.ValueMonthView1.Visible = FalseEnd Sub