Results 1 to 2 of 2

Thread: timer control

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    6
    i wan to know how i can control the timer with a command button.

    i click on play the timer start and if i click
    on stop the timer stop

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Code:
    Private Sub cmdPlay_Click()
      Timer1.Enabled = True
    End Sub
    
    Private Sub cmdStop_Click()
      Timer1.Enabled = False
    End Sub
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width