Wait for an event

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have a subroutine that has 2 sections of code. The last line of the
first section displays a button. I need my program to wait until the
user clicks the button, then continue executing the rest of that
subroutine. (Because the code in the second section uses several local
variables, I cannot use the button's click event handler method).

Thanks in advance,
Casey

.


Quantcast