havn't got an example, but my very rough guess is maybe you could do something along the lines of;
wrap a function around the time.sleep() function that when called it starts the sleep in another thread so that the program will only continue untill;
thread gets killed (stoppped)
so the way to interrupt could be to manually shut down the thread which in turn would shut down the sleep
you could make your own sleep class that allows you to kill it?
something along those lines anyway
not too experienced on threading or using classes
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...