|
-
Jun 18th, 2018, 10:56 AM
#4
Re: Using a variable in Timer name
Another option would be to add the timer to the button. The .Tag property of a button is essentially a storage area that can hold anything...including a timer. So, you could assign each timer to the .Tag property of the button, then get it back with:
Dim yourTimer = DirectCast(yourButtonHere.Tag,Timer)
However, I still prefer having only a single timer.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|