AppLCATION.DOEvents Processes all messages in the message queue.
In the single thread, if a large amount is calculated behind some operations, the client area caused by these operations may have no redraw, using Application.doEvents to force the message to process the message, and then carry out the calculation.