>>I have created a progress bar window. When I am scanning through a large
>>table, I pop it up and show the progress.
>>
>>What I would like is a Cancel button on the form so I can stop processing.
>>I put the button on the form, but the click never happens because the
>>processing is going on.
>>
>>So how do I interrupt processing to evaluate the click?
>>
>>Thanks
>
>You have to include
DOEVENTS into your loop to let vfp to procees click on a Cancell button. See
http://fox.wikis.com/wc.dll?Wiki~FunctionSYS1270~VFP for more details.
Please read "You have to" as "You could"
--sb--