标题:VB计时器代码求解
取消只看楼主
wo280521275
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2011-9-24
结帖率:100%
已结贴  问题点数:20 回复次数:1 
VB计时器代码求解
Private Sub Command3_Click()

End Sub

Private Sub Label1_Click()
    cmdStart.Enabled = True
    cmdStop.Enabled = False
    cmdSZero.Enabled = False
End Sub

Private Sub cmdExit_Click()
    End
End Sub

Private Sub cmdStart_Click()
    tmrCount.Enabled = True
    cmdStop.Enabled = True
    cmdStart.Enabled = False
    cmdZero.Enabled = False
End Sub

Private Sub cmdStop_Click()
    tmrCount.Enabled = False
    cmdZero.Enabled = True
    cmdStop.Enabled = False
End Sub

Private Sub cmdZero_Click()
    lblCount.Caption = "0"
    cmdStart.Enabled = True
    cmdStop.Enabled = False
    cmdZero.Enabled = False
End Sub

Private Sub tmrCount_Timer()
     lblCount.Caption = Val(lblCount.Caption) + 1
End Sub
为什么我编出来的代码安运行他自己就开始计时了。我开始还没点呢。不知道是哪里少了语句
搜索更多相关主题的帖子: 计时器 False 
2011-09-24 17:27
wo280521275
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2011-9-24
得分:0 
回复 2楼 兑神
灌毛个水。直接举报,你要学么就学好了。关我吊事
2011-09-24 18:05



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-350769-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.160761 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved