Преглед изворни кода
Swap order in BringToFrontAndRestore support function to work around VCL bug.
If Application.BringToFront is called while the app is minimized, the Forms unit's WM_ACTIVATEAPP handler inexplicably sets FAppIconic=False, which causes the next Application.Restore call to be a no-op.