Problem with SetFocus in FormShow

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34734
    Gabor Boros
    Participant

    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

    #46514
    Support
    Keymaster

    Hello

    Please try to place the TsSkinProvider component on forms.

    #46520
    Gabor Boros
    Participant
    'Support' wrote:

    Hello

    Please try to place the TsSkinProvider component on forms.

    Hi,

    In the sample project the problem eliminated by the TsSkinProvider.

    Gabor

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.