Rodney,
You should make sure that you set the MousePointer to an hourglass during any long running process to give them some visual cue the machine is busy. I prefer a more proactive progress display though using a progressbar. I also use a class that can be used inside a SCAN that will give the user a prediction of when it'll be finished.
But to solve your problem, code like this will suck up all but one of the mouse clicks, you can put it at the end of the long running code:
n = inkey( 0.01, "MH" )
j = 0
do while ( n > 0 )
n = inkey( 0.01, "MH" )
j = j + 1
enddo
>Is there a mouse equivalent of CLEAR TYPEAHEAD (CLEAR CLICKAHEAD??)?
>
>If not, what is a good way to prevent extra mouse clicks from impatient users from landing them in the remote reaches of the application?