Home All Groups Group Topic Archive Search About
Author
3 Mar 2006 9:16 PM
casey
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

Author
3 Mar 2006 10:05 PM
Armin Zingler
"casey" <cskel***@cstx.gov> 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