rejetto forum

[Feature request] Saving window position upon closing

0 Members and 1 Guest are viewing this topic.

Offline sequestrum

  • Occasional poster
  • *
    • Posts: 13
    • View Profile
Would it perhaps be possible to make HFS remember where it was positioned the last time it was closed? My HFS always opens on my primary monitor, it refuses to remember that I had it on my secondary monitor before I closed/restarted it. I'm currently using 2.3 beta, build 217, but this issue/behaviour has always been there as far as I know.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Yes it is possible, I use too two screens and windows tended to open on horseback on both screens

This linked version is 100% compatible  with the version of rejetto

www.rejetto.com/forum/index.php?topic=6418.msg1039095#msg1039095

The magic parameters for every forms are

(Tform.)position:=poScreenCenter;

(Tform.)DefaultMonitor:=dmMainForm;

except for the Main Form who has those parameters

(Tform.)position:=poDesigned;

(Tform.)DefaultMonitor:=dmMainForm;
« Last Edit: December 18, 2008, 07:28:21 PM by mars »