>Hi,
> I am developing an application that retrieve word doucent by sentence basis. Then need to process each line ....so i do it in a loop.....however, i need to stop or even pause and resume the process...then i add command button to allow the stop operation. The click event for this command button will not fire when the looping is processing.....how could i process my each sentence and allow other click event of command button fired??? or if u have any other ideas please tell me...
>Thank you.
John, you may try to put DOEVENTS command inside your loop which will allow to process queued click events.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison