• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 80
  • Last Modified:

Delphi goes on first monitor when I run the application


I have a serious problem.
I use Delphi Seattle and Windows 10 on a notebook.

I need to work on this notebook for a month. Because the screen is very small I bought a big monitor and attached it  as a secondary monitor.

When I start Delphi I move it to the big monitor.
Every time I run my application (F9) it automatically moves back to the first, small monitor.
Because I am testing my new application a lot half of my time goes by setting back the Delphi to my big monitor.

How can I prevent it?
Thank you very much.
  • 2
1 Solution
Hello ThereSystem AdministratorCommented:
Not mine:
I do believe Windows 10 will remember where your applications were last opened.  Just have the application open so that it isn't in Maximize mode and move it to your second screen.  Now every time you open that application, it should open in the second monitor.

 Example: Open Excel and move it to the 2nd (extended monitor) and close it out and the next time you open Excel it will open in the 2nd monitor.
Hello ThereSystem AdministratorCommented:
There is also Display Fusion app that might help you.

Also read this discussion.

Windows 10 may not open applications on the free screen automatically, but you can make programs and/or documents open up on the same monitor all the time.  Example: I use one application on my left screen always and the web on the other. To set this - you open the application, drag it to the screen you want it to open on, minimize it to half size (the middle square shape on the top far right - beside the X to close out the app or doc) and then close it out without maximizing it again. From now on it will open on that screen. Do this with anything you want to designate to a certain screen- and it will stay that way until you change it by repeating this process on a different screen. It isn't exactly a fix, but it is very helpful.
Geert GOracle dbaCommented:
this is not a windows problem, it's a delphi desktop layout issue !

delphi layouts
in programming mode, delphi uses the default layout
in runtime mode, delphi uses the debugging desktop layout

a layout hold the position of each form within Delphi (not your app)

you need to position each form in that specific layout and then save it

delphi can be very buggy in that respect, it doesn't seem to save positions correctly
(at least in all the versions i have worked with)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now