Home > Back-end >  For everyone a basic question!!!!!
For everyone a basic question!!!!!

Time:10-14

Written in Delphi programs, if large amount of calculation, the page will be stuck for a period of time, unable to move, also can't minimize, only after operation the recovery, but I have seen other programs (others) for example 360 security guards, great computational complexity is can move, and minimize, excuse me, how can do it..

CodePudding user response:

In calculation of each loop plus Application. ProcessMessages; It is ok

CodePudding user response:

Operation in a separate thread, through the message and the main interface interaction!

CodePudding user response:

Settled through thread is perfect,

CodePudding user response:

, thanks for your Application. ProcessMessages this worked, said as to the second floor of the independent thread, news of what, I don't understand, to understand the Delphi is not too deep, but also very grateful to the

CodePudding user response:

Multithreading is the fundamental solution

CodePudding user response:

reference 1st floor feiba7288 response:
add Application. In the calculation of each loop ProcessMessages; It is ok to

Say of very good, today I learn feiba7288 two posts, special thanks to,
  • Related