Re: Wait for an event



"casey" <cskelton@xxxxxxxx> schrieb
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).


You will have to use the click event handler. Make the local variables available to the whole class. But why not show a Msgbox instead?



Armin

.