Problem with form border drawing Root › Technical support › Troubleshooting This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by Stephane Senecal. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts June 13, 2019 at 3:26 pm #59597 Stephane SenecalParticipant I noticed that the value returned by GetSystemMetrics(SM_CXSIZEFRAME) is different when debugging vs not. It returns 4 when debugging and 8 when not debugging. When not debugging the form draws correctly. Stephane Senecal CIS Group Delphi programmer since 2001 June 15, 2019 at 7:45 am #59600 SupportKeymaster Hello Maybe manifest has influence to mode of the application work? Can you try to make a new project and check how it work there? Also, try to add “XPMan” to the “uses” clause if not added. July 4, 2019 at 9:04 pm #59728 Stephane SenecalParticipant I'm not quite sure what changed (a reboot perhaps), but I do not have the problem anymore. Mysteries of Windows. Stephane Senecal CIS Group Delphi programmer since 2001 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting