放个Timer组件 在System选卡上 {可以设置多少秒更新一次} 然后OnTimer事件上写 statusbar1.Panels[1].Text:=formatdatetime('yyyy年mm月dd日 hh:mm:ss',now()); 然后OK。。求采纳