When Top = 0 Is Not 0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55478
    Support
    Keymaster

      ExtendedBorder is just additional painting, it's not the real Form1 area.

      You can use this code for a positioning of form with extended borders:

      Code:
      Form1.Top := 0 + DiffTitle(sSkinProvider1.BorderForm);
      Form1.Left := 0 + DiffBorder(sSkinProvider1.BorderForm);

      This code will work if ExtendedBorders is False also (results of functions will be 0).

      #55509
      TAZ
      Participant

        Works great. Thanks.

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