I'm having a little trouble with a loop. When the user clicks the start button, it is supposed to draw a series of lines until the user clicks stop or it hits the far "wall".

It does stop when it hits the edge, but the outside input doesn't seem to be getting through. I threw in a DoEvents statement at the beginning of the loop, but still no luck.

I figure it's just something dumb, but any help would be greatly appreciated. Thanks.