Recent

Author Topic: [SOLVED] Form not showing on Windows 11  (Read 307 times)

Axessible

  • Newbie
  • Posts: 3
[SOLVED] Form not showing on Windows 11
« on: February 16, 2025, 06:32:31 pm »
Hello, I have made a pascal program in Lazarus on Linux, which I would like to compile for windows 11. I have followed the guide on the wiki for cross compilation and successfully compiled it for Windows. However, when running it on windows 11, the window doesn't show, but it is in the task bar.
I have also tried compiling it directly from Windows 11, but I still have the same issue. Link to the code: https://github.com/axelhd/exerciseApp
Does anyone know how to fix this?
« Last Edit: February 16, 2025, 06:41:02 pm by Axessible »

Fibonacci

  • Hero Member
  • *****
  • Posts: 653
  • Internal Error Hunter
Re: Form not showing on Windows 11
« Reply #1 on: February 16, 2025, 06:38:07 pm »
Code: Pascal  [Select][+][-]
  1. object Form1: TForm1
  2.   Left = 3475

Axessible

  • Newbie
  • Posts: 3
Re: Form not showing on Windows 11
« Reply #2 on: February 16, 2025, 06:40:22 pm »
Thank you very much. Changing it to a more sensible value fixed it.

af0815

  • Hero Member
  • *****
  • Posts: 1382
Re: [SOLVED] Form not showing on Windows 11
« Reply #3 on: February 17, 2025, 10:17:18 am »
You can set in the form in ObjectInspector Position:=poDefault instead of poDesigned. If you use eg. a multimonitor system or docked formeditor the form can be out of scope at runtime.
regards
Andreas

 

TinyPortal © 2005-2018