單項選擇題

表單初運行時,以下()方法可實現在表單的標簽對象label1中顯示系統日期。

A.在屬性窗口中將label1的caption屬性設為:date()
B.在屬性窗口中將label1的caption屬性設為:=date()
C.在屬性窗口中將label1的caption屬性設為:=dtoc(date())
D.在form1的init事件中輸入代碼:thisform.label1.caption=date()

微信掃碼免費搜題