[SOLVED] Position Tool in the middle of Monitor lazarus / 21-General ---------------------------------------------------------------------- d3crypti0n · 2021-04-24 22:03 I use multiple monitors and I want to position my tool in the middle of the monitor I start the tool. I have set the following line in FormCreate but it places the tool in the middle between monitor 1 and 2. How can I set it in the middle of the monitor the tool get's executed? Code: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Form1.position := poDeskTopCenter; ---------------------------------------------------------------------- sstvmaster · 2021-04-24 22:15 useCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Form1.position := poScreenCenter; Documentation is here: https://lazarus- ccr.sourceforge.io/docs/lcl/forms/tposition.html ---------------------------------------------------------------------- d3crypti0n · 2021-04-24 23:04 Thank you