A question on Invoke Repeating....

Is there a way to add how many times the Invoke Repeating things should repeat? Or do you have to set that up yourself?

1 Answer

1

You could use a counter in the function that you are invoking, and once it reaches your limit, it issues a CancelInvoke() on itself.

Didn't know about CancelInvoke. Thanks.