Hi,
When I use SetFocus in FormShow sometimes a ghost window appears on the screen.
Sometimes near center of the screen, sometimes in top left corner of the screen.
Attached the sample project, 2 videos (1 with ghost window near center, 1 with ghost window in top left corner),
and 1-1 screenshot from the 2 videos. Tried with Delphi 2010, XP SP3 32bit, AC 7.47.
When remove the SetFocus from the FormShow, works like a charm.
But I have a big project with many many SetFocus in many many FormShow. 🙂
Gabor