English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

In VB, I want to make a timer run with start, stop and datalist objects. I just need the code for each button to start and stop the timer and the code for the data list to show the results. Can anyone help?

2007-01-10 16:59:40 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

I am not sure how to do the data list, but I can show how to do it with a label.

cmdStartStop - one command button

tmrTime

lblTimer

Private Sub cmdStartStop_Click()

tmrTime.Enabled = Not tmrTime.Enabled

End Sub

======================

Private Sub tmrTime_Timer()

lblTime = tmrTimer

End Sub

2007-01-10 19:07:19 · answer #1 · answered by Richard H 7 · 0 0

fedest.com, questions and answers