JeffPalmer
MIS
I wrote a Delphi 6 app that processes a text file and then populates an Access database. The program pegs the CPU, but otherwise runs fine (even though task manager shows it not responding). It does take some time for the program to run, so I added an abort button and status gauge. The gauge updates fine. The problem is that it is so busy with the calculations, it doesn't even change focus to the abort button when pressed. I tried adding a Refresh in the looping calculation, but other than some flickering in the window, I still get no response.
How can I can get it to check if the abort button was pressed with the least impact on processing?
How can I can get it to check if the abort button was pressed with the least impact on processing?