首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ Builder >

timer控件没有作用?解决办法

2012-02-16 
timer控件没有作用?void__fastcallTForm1::Timer1Timer(TObject*Sender){staticintst1st++Label2- Cap

timer控件没有作用?
void   __fastcall   TForm1::Timer1Timer(TObject   *Sender)
  {
static   int   st=1;
st++;
    Label2-> Caption   =   st   ;
    }

====================================
结果Label2一点反映都没有?
Timer1的Enable已经设置为true   了

[解决办法]
发给你了,,你看看,,我在我的机子上没有问题哦

热点排行