StatusBar状态栏上显示时实时间 C++BUILDER6

添加定时器 

void   __fastcall   TForm1::Timer1Timer(TObject   *Sender)
{
StatusBar1-> Panels-> Items[1]-> Text=Now().FormatString( "yyyy-mm-dd   hh:nn:ss   ");
}

posted @ 2011-07-03 10:41  皮皮鲁PPL  阅读(354)  评论(0编辑  收藏  举报