我刚学VB几个课时,有个菜鸟问题请大家相助.......静待中...
indog 2003-05-17 03:15:53 Private Sub setdate()
Dim r%, i%
r% = CInt(Format$(Now, "yyyy"))
i% = r% - 1960
~~~~~~~~~~~~~~~~~~/谁能解释这一句的意思 谢了
cboyear.ListIndex = i%
r% = CInt(Format$(Now, "mm"))
cbomonth.ListIndex = (r% - 1)
~~~~~~~~~~~~~~~~~~/谁能解释这一句的意思 谢了
r% = CInt(Format$(Now, "dd"))
lblnumber(r% - 1).BorderStyle = 1
selectedate% = r%
~~~~~~~~~~~~~~~~~~/谁能解释这一句的意思 谢了
End Sub