أضف هذا الكود بداخل حدث تحميل الفورم Form Load
وإستبدل كود الـ Timer الخاص بك بهذا الكود بعد التعديل ^_^كود:Private Sub Form_Load() Label1.Caption = "0" Label2.Caption = "0" Label3.Caption = "0" End Sub
كود:Private Sub Timer1_Timer() If Not Timer1.Interval = 0 Then Label3.Caption = Val(Label3.Caption) + 1 If Label3.Caption = "60" Then Label3.Caption = "0" Label2.Caption = Val(Label2.Caption) + 1 ElseIf Label2.Caption = "60" Then Label2.Caption = "0" Label1.Caption = Val(Label1.Caption) + 1 End If End Sub

رد مع اقتباس

المفضلات