this.text1.value=left(time(),5) 或this.text1.value=str(hour(datetime()) ,2)+":"+str(Minute(datetime()),2) 不过这样设置的时间是静态的,不会实时改变。若想实时改变,应用时钟控件控制。